Title: Changing root domain/path seemlessly
Last modified: August 19, 2016

---

# Changing root domain/path seemlessly

 *  [sodani](https://wordpress.org/support/users/sodani/)
 * (@sodani)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/changing-root-domainpath-seemlessly/)
 * 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)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/changing-root-domainpath-seemlessly/#post-1213407)
 * just do it this way each time and you’ll be fine
    [http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site](http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site)
 *  Thread Starter [sodani](https://wordpress.org/support/users/sodani/)
 * (@sodani)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/changing-root-domainpath-seemlessly/#post-1213421)
 * 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…
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/changing-root-domainpath-seemlessly/#post-1213424)
 * > 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](https://wordpress.org/support/users/sodani/)
 * (@sodani)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/changing-root-domainpath-seemlessly/#post-1213456)
 * 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.
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/changing-root-domainpath-seemlessly/#post-1213462)
 * > 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/changing-root-domainpath-seemlessly/#post-1213462)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
