Title: Moving WordPress to Another Folder
Last modified: August 18, 2016

---

# Moving WordPress to Another Folder

 *  [RogerUsh](https://wordpress.org/support/users/rogerush/)
 * (@rogerush)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/moving-wordpress-to-another-folder/)
 * I recently had to move WordPress from one folder to another on my server and 
   it took me a lot of time figuring out exactly how to do it. I thought I would
   share how to change the WordPress directory for the next person who might need
   to do the same thing. With these three simple steps you’ll be moving WordPress
   around like a jetset with places to go:
 * 1) The first thing that you should do is backup all the WordPress files onto 
   your local drive and then move them to the new folder on your server.
 * 2) The next thing that needs to be done is change all the references in the `.
   htaccess` file. It is a hidden file and should be located in the root folder 
   for WordPress. There are a lot of instances refering to the folder structure 
   in the `.htaccess` file so a simple find and replace function in a text editor
   should do the trick.
 * 3) The last thing that needs to be done is change a few option values in the 
   database for WordPress. The only tables that I found instances of the old folder
   structures that needed to be changed were in `wp_options` and `wp_posts`.

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/moving-wordpress-to-another-folder/#post-225605)
 * This is definitely the hard way… You can just do it in this way:
 * 1. Go to admin panel > Options > General
    2. Change the two URI adresses 3. Do
   not open your blog in a browser – yet 4. Open your FTP client (or other site 
   admin tool) and move the WP files 5. Now you can open and admire your blog at
   the new location (for the .htaccess you can simply re-create the rules)
 *  [skippy](https://wordpress.org/support/users/skippy/)
 * (@skippy)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/moving-wordpress-to-another-folder/#post-225608)
 * RogerUsh: I realize this is coming late for you, but it might help others.
 * [Moving WordPress](http://codex.wordpress.org/Moving_WordPress) describes the
   procedure of moving WordPress from one folder or directory to another on the 
   same server.
 * [Moving to a new server](http://codex.wordpress.org/Moving_To_A_New_Server) describes
   how to move WordPress to a new server.
 *  Thread Starter [RogerUsh](https://wordpress.org/support/users/rogerush/)
 * (@rogerush)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/moving-wordpress-to-another-folder/#post-225693)
 * You’re right, when I was looking for an easy way to do it I couldn’t find it,
   and now after I’ve done it it’s right there. The irony is killing me.
 * Thanks.
 *  [krbmedia](https://wordpress.org/support/users/krbmedia/)
 * (@krbmedia)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/moving-wordpress-to-another-folder/#post-225878)
 * Moshu, I’m a newbie. How do you recreate the rules?
 *  [filschiesty](https://wordpress.org/support/users/filschiesty/)
 * (@filschiesty)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/moving-wordpress-to-another-folder/#post-225879)
 * Options > Permalink
    Click Update Permalink Structure
 * That will recreate all .htaccess rules.

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

The topic ‘Moving WordPress to Another Folder’ is closed to new replies.

## Tags

 * [change folder](https://wordpress.org/support/topic-tag/change-folder/)
 * [move](https://wordpress.org/support/topic-tag/move/)
 * [reinstall](https://wordpress.org/support/topic-tag/reinstall/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 5 participants
 * Last reply from: [filschiesty](https://wordpress.org/support/users/filschiesty/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/moving-wordpress-to-another-folder/#post-225879)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
