Support » Fixing WordPress » Permalinks/archives redirect

  • I’ve seen the threads on redirecting from old MT permalinks to the new WP permalinks. Here’s the hitch: I just switched to a new host so I could install WP, so I don’t have MT installed at the new host. Thus, I can’t use the rebuild/script hack. Unless I reinstall MT, which isn’t going to happen. 😉
    Is there a way I can structure my WP permalinks so that it will be easy to do a .htaccess redirect from my MT /archives folder? (MT archives look something like 000xxx.html, where xxx is the post ID.)

Viewing 4 replies - 1 through 4 (of 4 total)
  • bump




    I haven’t jumped on the .htaccess rewrite bandwagon, but I think you’re probably going to need to make individual rewrite rules for each archive entry.
    Or you could take the easy out and make a rewrite rule that directs people to a page announcing ‘the archives have been shuffled up and would you please use the search feature instead thank you’.

    That’s brilliant. I just had a “why didn’t I think of that?” moment!

    Figured it out. Added this to the .htaccess:
    RewriteBase /archives
    RewriteRule ^archives/000([0-9]+)?.html$$1 [R=permanent]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Permalinks/archives redirect’ is closed to new replies.