The MU forums have moved to

Migration from WP to WPMU - help with mod_rewrite needed (4 posts)

  1. digital.formula
    Posted 12 years ago #

    Hi all,

    I've successfully backed up my existing blog ( and made it work in With a few exceptions such as missing images etc, it's all working well (the missing images aren't anything to do with a fault in WPMU - just me not uploading them yet).

    However, is my test site and I want to migrate the installation there to - simple enough but what would I set mod_rewrite to do for URLs that *were* in / but now in /technical?

    I'm asking as I can't set a global redirect for all requests for / to go to /technical as there's still going to be the parent WPMU installation in /

    Does that make sense?

    Hopefully someone can help. :)


  2. dgilmour
    Posted 12 years ago #

    I'd probably take a database dump of the original blog, edit it to correct the URLs, then use that to restore the blog. Seems better to fix the cause, rather than use mod_rewrite to work around them being wrong. To simplify support, I'd be aiming to minimise avoidable use of mod_rewrite. This could be because I'd be guaranteed to forget how exactly my shiny new redirect worked before very long.

  3. andrea_r
    Posted 12 years ago #

    Uh, yeah. Don't do it the mod_rewrite way. :)

    Go change it all in the db.

  4. digital.formula
    Posted 12 years ago #

    It's not actually anything to do with Wordpress that is making me ask this, it's Google's index. :)

    Quite a few of my posts are ranked up there on Google and, until Google re-crawls my site, the old links won't work. The original stuff is still there, only in /technical/post-title instead of /post-title.

    andrea_r > When you say "Go change it all in the db" ... is that even possible to make it so people finding my posts on Google will still get to the posts even though the links have changed? I didn't think it was ...

    Thanks guys! :)

About this Topic

  • Started 12 years ago by digital.formula
  • Latest reply from digital.formula