Random Numbers in Slug


#1

I have a blog and viewing the slug it’s loading from the title is /blogs/christmas-spectacular-268cef32

I don’t know where the 268cef32 is coming from, but loading /blogs/christmas-spectacular doesn’t work.


#2

@StersLife On hosted service, 268cef32 is an identifier that helps Vapid locate the record/blog post. It’s automatically added to the end of the URL, and can’t be removed.

Other websites, like Medium, do something similar:

https://medium.com/@jowitaemberton/7-future-web-design-trends-fba93eba6355

The primary benefit being that you’re free to change the post’s title without requiring URL redirects. e.g. Christmas Spectacular (/blogs/christmas-spectacular-268cef32) to Xmas Spectacular (/blogs/xmas-spectacular-268cef32).