Always be sure to fully back up your blog before attempting a move.
Many times, new bloggers might put their blog in a subdirectory, like /blog or they did not realize that when you install WordPress manually, it will be installed in the /wordpress directory. If this is the case and you want to move your blog out of a subdirectory and into the root folder of your site (i.e. you domain name), then follow the instructions in the video below.
If you have any questions, please comment below.







May 12th, 2011 at 6:59 am
Could i able to move the sub directory to root folder without ftp or wp-config file access? see the sample
May 12th, 2011 at 4:36 pm
If not using FTP then you’d need to log into the web hosting control panel and use the File Manager to move the files. The wp-config file will need to be moved as will all your other files.
June 6th, 2011 at 12:20 am
You saved my Day! I built website for my client in wordpress, I know I can move it to root easily. Without your video, I could have spend a complete day to finish the job, with you help I did in an hour confidently.
Thanks,
Venkat
June 6th, 2011 at 7:09 am
Hey my pleasure Venkat. I hate when one task takes an entire day to do. Glad it saved you some time.
July 19th, 2011 at 1:57 pm
You guys ROCK! I have been spinning my wheels with this and I finally found YOUR site! Lost my database and had to start over a couple of days ago. Will definitely add you to my new blog when I get it all updated. THANK YOU THANK YOU!
July 19th, 2011 at 4:28 pm
Hi Laurie.
No problem. Glad to of helped. Be sure to check out my new site, Blog Training Classroom for more videos.
August 17th, 2011 at 4:36 pm
Thanks. this helped a lot.
August 17th, 2011 at 5:40 pm
You got it, Falmung.
August 22nd, 2011 at 6:44 pm
Oh boy. So I’m on a Mac platform. How do I get the database that you’re talking using Fetch?
August 22nd, 2011 at 8:26 pm
Hi Yong. I’m sure a text editor will do. Download it and see if it opens it up.
August 25th, 2011 at 11:48 am
this is perfect thanks!
August 25th, 2011 at 4:03 pm
hak, glad you got it. No problem.
September 1st, 2011 at 11:33 am
Thank you this is well presented and clear, making it so much easier for those of us who either do not understand these things well, or just do not do them very often.
September 1st, 2011 at 12:44 pm
Hi lynnspain,
No problem. Glad I was able to help. Be sure to subscribe to my YouTube channel as well.
October 14th, 2011 at 7:25 pm
Love it. Thanks!
October 14th, 2011 at 9:51 pm
Hi Suzanne. You got it. Thanks for the comment.
November 2nd, 2011 at 4:26 am
followed your very helpful video till the Import of the SQL file.
In my case there is no import button in my database setup (that otherwise looks the same as yours.
Can you suggest another way to get my exported file back in?
best regards
Petur
November 2nd, 2011 at 5:47 am
Hi Petur. Since I’m not familiar with your database interface, I’d say your best bet would be to ask your hosting provider.
November 8th, 2011 at 11:44 am
Thanks so much for such a helpful tutorial! It made the move mostly painless (I somehow lost the text in my sidebar widgets – any idea how to keep those next time?)
Thanks for taking the time to create this video and show us how simple the process is.
November 8th, 2011 at 12:12 pm
Hi Debie,
No problem.
Not sure about widgets thing. Mine always moves over just fine. Or at least I think they do. To be honest, I haven’t done a move in quite a while now.
November 16th, 2011 at 7:24 am
Thanks for a good tutorial on the actual moving of the blog, this is exactly what I need to do with mine. However is there an easy way to maintain the links into the site? I know I can use 301 redirects on the pages individually, but is there not perhaps a script I can add to .htaccess or something to redirect all pages from the subdirectory to the same URL just with the subdirectory removed.
Help appreciated as I really don’t want to lose my position in google and pagerank by moving to the root.
November 16th, 2011 at 8:27 am
Hi Ryan, there are a few plugins out there which might be able to help.
Here’s one here.
http://wordpress.org/extend/plugins/redirection/
If that doesn’t work, do a Google search for similar plugins.
November 17th, 2011 at 8:28 am
That’s looks ideal John, I don’t know how I didn’t spot something like that myself. Think I’ll do a dummy test first then bite the bullet. Thank You.
December 5th, 2011 at 1:40 am
Great write up guys you saved my ass. Thankyou thankyou thankyou!!
T
December 6th, 2011 at 5:52 am
wow!!! so easy… I shall try it – I am really afraid to do any change after reading CODEX and other blogs.
December 6th, 2011 at 9:17 am
finger crossed – all step done… given import command and now it is taking time… for last 15 min I am restless… 3% completed… do not know my fate. My SQL file size is ~8MB. Pray for me
December 6th, 2011 at 9:38 am
Yipeeee!!!! John BIIIIIIIIGGGGGGGGG HUUUUUUUGGGGG
Finally I did!!! It is working
I changed char set to 16 while exporting database because I am using some Indian charset also. But luckily I also exported with setting char set 8. First one failed and I was cursing you
then I tried with later sql and it all worked.
Thank you sooooooo mucccchhhhhh…. My regards
December 8th, 2011 at 12:17 pm
Awesome. Glad you got it. I know, it’s nerve racking when you hit that “go” button.
June 15th, 2012 at 2:58 am
Hi John,
Thanks for this!
Everything has gone to plan except when importing the file back to phpMyAdmin…I got a sever error and think I need to used this “BIG DUMP” video you speak about but I can’t seem to find the link to it!? Please help as the website is now sitting broken for everyone to see….
Thanks
June 15th, 2012 at 8:11 am
An easy way to find it is by going to Google and doing a search for it along with wpbloghost.tv