Skip to content

How to use url slug instead of id #66932

Discussion options

You must be logged in to vote

Then you should've designed it, so that they are unique 😅

You could also maybe do t-shirt---id or something like that, and then split on --- to collect the id. In general, append something to the end of the URL, which you can use to figure out which product to show. Keep them short though.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@khuongviettai
Comment options

@icyJoseph
Comment options

Answer selected by khuongviettai
@khuongviettai
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants