This article at Yoast convinced me to update my permalink structure here at longren.org to something a bit more simple.
Previously, I was using a permalink structure like http://www.longren.org/2011/05/26/html5press-1-5/. This is how it was setup in the WordPress permalinks settings:
/%year%/%monthnum%/%day%/%postname%/
The new permalink structure is:
/%postname%/
That will produce URL’s like http://www.longren.org/html5press-1-5/.
That change will make for shorter URL’s, and will no longer show the date in the URL.
I also added this bit to my .htaccess file:
RedirectMatch 301 /d{4}/d{2}/d{2}/(.*) http://www.longren.org/$1
That tells browsers requesting an old URL where the new one is located. It does so by issuing a 301 redirect, which tells browsers the URL has permanently moved. 301 redirects are search engine friendly too.
Well, now what?
Work with Me
I'm available for hire and always taking new clients, big and small. Got a project or an idea you'd like to discuss? Startup plan but no developer to make it happen? Just get in touch, I'd love to see if I can help you out!
Leave some Feedback
Got a question or some updated information releavant to this post? Please, leave a comment! The comments are a great way to get help, I read them all and reply to nearly every comment. Let's talk. š
Longren.io is proudly hosted by DigitalOcean
