- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have a client WP website which has the following permalink structure: /%year%/%monthnum%/%postname%.html
The .html suffix is there to insure compatibility for a Blogger to WP redirection plugin which has outlived its usefulness. I want to now change the permalink structure to just %postname%.
But I want to avoid creating thousands of 404 errors for existing internal and external links. What is the best way to modify my htaccess? I’m not sure if this requires a regular expression redirect or a rewrite rule. I’m an .htaccess novice and would really appreciate some steering in the right direction.
Ouch, that’ll be a tough one. I imagine if it’s happening to *all* posts that there is some sort of simple 301 redirect plugin out there.
I found this plugin: http://wordpress.org/plugins/change-permalink-helper/
But I’d rather do this with htaccess instead as I’m thinking that ought to be faster.
Actually, I just found a handy tool for this on Yoast’s site here: http://yoast.com/change-wordpress-permalink-structure/
The Yoast solution worked!