• Hello, the root path of my blog is currently domain.com/blog. I’d like to move this to development.domain.com/blog for testing purposes and updates, after which I’d like to move it back to the original path.

    Is there a way to do this without updating the database for each move? It seems that wordpress uses absolute URLs, and I don’t want to have to update the database each time.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • just do it this way each time and you’ll be fine
    http://codex.ww.wp.xz.cn/Moving_WordPress#Moving_WordPress_Within_Your_Site

    Thread Starter sodani

    (@sodani)

    That seems very cumbersome to do every time. I also use the drupal CMS, and all I do is move the files to a new folder or subdomain on the same server and it just works. I guess that’s not possible with wordpress…

    all I do is move the files to a new folder or subdomain on the same server and it just works. I guess that’s not possible with wordpress…

    huh? that’s basically all you do
    change the url’s to where they will be – move all files to proper folder
    reset permalinks

    Thread Starter sodani

    (@sodani)

    Looking at those steps, 2-6 updates your database and breaks your live installation, isn’t that correct?

    Without breaking your live installation, I’m thinking that the best way to do it is just running an sql command to update all URLs.

    Looking at those steps, 2-6 updates your database and breaks your live installation, isn’t that correct?

    sure – for what – 2 minutes? then it is live again

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Changing root domain/path seemlessly’ is closed to new replies.