Join the Webstudio community

Updated 4 days ago

Heyy good morning everyone 😁As I'm working on

Heyy good morning everyone 😁

As I'm working on my new blog, I sometimes change titles and with that usually the slug changes as well even though I try not to touch that. Recently I've seen a blog in which they use IDs followed by the slugname. Anything after the ID typed wrong automatically redirects to the correct slugname after it.

Was something like this:
website.com/blog/456/awesome-blog

Going to website.com/blog/456/ redirected to website.com/blog/456/awesome-blog.
This way in search results it still showed the keywords in the slug awesome-blog and I think it's now easier to change a slugname if needed.

What do you guys think? Is this good practise or overcomplicated? 😝
J
R
2 comments
Sounds like a complete pain to try and manage those 301 redirects when changing the slugs. Also, wouldn't this dilute the value of the url in regards to SEO if you're adding extra /blog/ID...
The idea would be that anything after the id it would always redirect. Not sure about diluting the value of the url in regards to SEO. Maybe yes.
I guess I'd better skip this idea and focus more on setting proper slugname right from the start.
Add a reply
Sign up and join the conversation on Discord