Answers for "slug"

11

what is a slug

A slug uses the title of an article to generate a URL.
Posted by: Guest on July-05-2020
0

slug

Could not parse the remainder: '==c.slug' from 'category.slug==c.slug'
Posted by: Guest on June-20-2021
1

slug

A unique identifier like, 

https://mywebsite.com/what-happens-when-we-get-old 

(actually only the last part i.e what-happens-when-we-get-old), 

for a post with title "What happens when we get old?"

Good for both SEO and normal people and easy to deal with for programmers.
because each title is generally different, 
even if it is not some numbers can be added at the end to make it different.

sometimes if titles aren't used some other methods are used like using tags, or
datetime of the post, some random uuid numbers, for making URL for
each post different.
Posted by: Guest on July-19-2021

Browse Popular Code Answers by Language