Start with the customer and work backwards. Those two things, passion and customer-centricity, will take you an awful long way. – Jeff Bezos
Redirection Plugin for WordPress
Earlier this week I installed the Redirection Plugin for WordPress to handle some broken permalinks caused as a result of changing the URL structure for my domain.
There’s some great information about customizing the plugin at Redirection Plugin and Regexes. For my purposes, I was trying to redirect posts like:
http://www.leonelson.com/2009/02/title-of-this-page.html
to:
http://www.leonelson.com/2009/02/title-of-this-page/
Here are the settings that worked for me:
Source URL: /(\d*)?/(\d*)?/([A-Za-z0-9-]*).html
Target URL: /$1/$2/$3/