Moving Wordpress site

Hi All,

This is my first Wordpress site, and after having a look on Google for how to do this simple alteration i seem to have so many different ‘solutions’ i thought best to get a direct answer from some where i trust. As the last thing i want to do is lose all my work.

Basically I installed Wordpress under and now that I’m happy with the site, I would like it to work as the live site =

I’ll apologies now as I’m sure this question gets asked all the time, i just don’t want to loose all of the pages etc. because i follow the wrong information.

Many thanks,


You are going to have to move all of your files under the /new folder into your domain’s root folder. That is easy to do if you are using cPanel. Just select all the files and drag them over to the root folder on left pane. There are a couple of configurations you will have to make and it is recommended that you make them first.

Log in to your blog.

Go to the Administration > Settings > General panel.

In the box for WordPress address (URI): change the address to the new location of your main WordPress core files.

In the box for Site address (URL): change the address to the new location, which should match the WordPress (your public site) address (URI).

Click Save Changes.
(Do not try to open/view your blog now!)

Move your WordPress core files to the new location. This includes the files found within the original directory, such as, and all the sub-directories, to the new location.

That’s pretty much all there is to it unless you have some plugins which have placed the old URL inside of the database somewhere. If plugins are not an issue, making the move is pretty simple. I have done it. Shouldn’t take you more than a few minutes if you follow those directions. Ignore the other stuff on that page that does not apply to your situation as it will only serve to confuse.

Isn’t it related to your web hosting setting? Just point it to the folder

Many thanks for the replies, though it has not gone to plan :frowning:

I followed the instructions in that I changed the directory, saved, then moved the files using ftp FileZilla.

Unfortunately I’m now left with the site not working either on the or (second one being where the wp was originally installed and working)

When i go to i get the message

Warning: require(/home/f/a/fairlight/public_html/wp-includes/load.php) [function.require]: failed to open stream: No such file or directory in /home/f/a/fairlight/public_html/wp-settings.php on line 21

Fatal error: require() [function.require]: Failed opening required '/home/f/a/fairlight/public_html/wp-includes/load.php' (include_path='.://lib/php') in /home/f/a/fairlight/public_html/wp-settings.php on line 21

And when i go to i get a 404 error page with the theme sort of showing up but all the content is missing.

When i try to log in to wp-login.php through i get redirected to line 21 error message at the address

I guess one of my main concerns is that i have lost all of the pages and posts i have made for the site. Though hopefully that is still stored somewhere.

As i’m at a bit of a loss thought it best to hopefully get some adivce instead of randomly uploadeding and downloading the files to see if anything happens.

Many thanks for advice and help,


The instructions about how to move Wordpress are pretty basic and they work because I have done it a number of times. You messed up somewhere. A folder must not have been moved while some where. I would not say that moving files using a FTP client is the best idea. Doesn’t your host have some type of file utility in their control panel that you could use? Or at least some way to do it with command line?

The text content of pages and posts is stored in the database and is not affected by moving files. Images embedded in posts are stored in the file system and would be moved.

You could always upload or extract all the Wordpress files into the folder of your choosing and create a config file with the necessary information in it. That way you wouldn’t have to worry about moving files.

Many thanks for the reply. Everything is fixed and the site is now working. As you mentioned it was me the messed up. I did not realize that FileZilla defaults to time out a connection after 20 seconds, so a couple of the files failed to transfer. Unfortunately at that stage Wordpress was pointed towards the new directory so it seemed i could not access it. From there i went back to basics and did a clean install of Wordpress then re-uploaded the site. I’m sure i made this a lot more complicated that it should be, but am happy i learnt what i did wrong and should be a lot easier the next time.