I know that hyphnes are preferred to underscores, and I could do a 301 redirect. But some say it's not worth the chaos to change them and I pretty much agree. https://moz.com/community/q/hyphens-vs-underscores
So, my urls look like this:
example.com/post/this-is-post-title_tokenid/
For new posts I will have:
example.com/post/this-is-post-title-tokenid/
I'm assuming I'd have to return a 404 in case of:
- new post with an undescore
- old post with a hyphen
Is this the right approach?
Or maybe I should do nothing and leave it as it is?
What would you recommend?
tokenid
(as in your example)? (And what format does thetokenid
take?) Or could underscores be littered throughout the original URL (as in the thread you link to)?