Move Wordpress to Root

Moving your blog from a directory to your main domain

If you're wanting to change your blog address from www.my-domain.com/blog to just www.my-domain.com, start by logging into your blog's admin area, and go to "Settings" > "General". Then change the WordPress Address and Blog Address fields to be what you want them to be, shown below:

After you've changed these, click "save changes" on the bottom of that page. Doing so will kick you out of your WordPress admin area and give you an error message. That's ok, don't worry, that's what's supposed to happen.

Then, instead of renaming the folder, you need to use FTP to get into the blog installation folder (in our example this folder would be called "blog") and then move all the contents of that folder (not the folder itself, all the contents) into the folder that contained your blog's folder. So, if your "blog" folder was within a folder called "public_html", you would move the contents of your "blog" folder into the "public_html" folder.

Next, go to "Settings" > "Media" and make sure that the upload path is EXACTLY "wp-content/uploads", nothing less, nothing more. Save changes.

Go to "Appearance" > "P3 Customize" > "Settings" > "Blog settings" > "Blog path fixer", turn this option "on", and enter your old blog address in the field provided. This will repair the paths to your images that will still be referencing your old blog address.

Moving your blog from a directory to your main domain

If you're wanting to change your blog address from www.my-domain.com/blog to just www.my-domain.com, start by logging into your blog's admin area, and go to "Settings" > "General". Then change the WordPress Address and Blog Address fields to be what you want them to be, shown below:

After you've changed these, click "save changes" on the bottom of that page. Doing so will kick you out of your WordPress admin area and give you an error message. That's ok, don't worry, that's what's supposed to happen.

Then, instead of renaming the folder, you need to use FTP to get into the blog installation folder (in our example this folder would be called "blog") and then move all the contents of that folder (not the folder itself, all the contents) into the folder that contained your blog's folder. So, if your "blog" folder was within a folder called "public_html", you would move the contents of your "blog" folder into the "public_html" folder.

Next, go to "Settings" > "Media" and make sure that the upload path is EXACTLY "wp-content/uploads", nothing less, nothing more. Save changes.

Go to "Appearance" > "P3 Customize" > "Settings" > "Blog settings" > "Blog path fixer", turn this option "on", and enter your old blog address in the field provided. This will repair the paths to your images that will still be referencing your old blog address.

hide topic

Need more help?