If I change my permalink structure, is there is a nice way to handle when people/bots go to the old structure?

I presume I can add use .htaccess and write a rule to redirect based on a 301 but is it possible in my case?

I currently have site.com/%year%/%month%/%day%/%postname% and I will just want site.com/%category%/%postname%

link|improve this question

feedback

3 Answers

up vote 2 down vote accepted

Dean's Permalink Migration has always worked for me. Install it before you change your permalinks.

link|improve this answer
feedback

For people, you can try Smart 404.

link|improve this answer
feedback

You can typically perform the 301/302 redirect in the fuctions.php file of your theme.

Here is one of many references you can find - http://perishablepress.com/permanent-301-redirect-via-php-or-htaccess/

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.