WordPress.org

Ready to get started?Download WordPress

Forums

Moving to new server issue (10 posts)

  1. streetwood
    Member
    Posted 2 years ago #

    Hi there,

    Okay so I have an issue when I attempt to move my site from one server to another. The issue is that when I move it to the new server the site has reverted back to the default WordPress settings,without any of my original content,plugins etc.

    I did the following:

    1) Downloaded whole original site folder onto Harddrive via FTP.
    2)Downloaded database.
    3)Changed wp-config file info to match new database.
    4)Uploaded database content to new database.
    5) uploaded folder to new server via FTP to address http://www.newsite.com/wordpress

    Now when I go to that link instead of being the old site that I wanted on the new server I am brought to the WordPress default installation screen. Then that brings me to the default site.

    All I want to do is move from one server to the next and it seems straight forward enough accept why is it going to the default?!?

    Please help!

    Cheers,

    Streetwood

  2. ChristiNi
    Member
    Posted 2 years ago #

    Hi streetwood,

    Sorry to hear you're having trouble moving your WordPress site to a new server.

    When you say

    Downloaded whole original site folder onto Harddrive via FTP.
    are you referring to the document root folder where you had WordPress installed? The reason I ask is that WordPress uses several folders and I want to make sure you copied all the needed folders.

    Have you double checked the database to make sure the content was imported correctly? You should be able to use phpMyAdmin to view the tables of your database to make sure the content is there.

    If you still have trouble with your newly moved site, you may find it easier to follow these steps for moving your site:

    1) Clean everything out on the server you want to move to (including the database).
    2) Do a fresh installation of WordPress on your new server.
    3) Use Tools > Export within your dashboard on your old WordPress site to export posts, pages, comments, custom fields, categories, and tags.
    4) On your new WordPress site, use Tools > Import within your dashboard to import the file you exported from your old site in Step 3 above.
    5) Download your wp-content folder from your old server (this will copy your plugins, themes and media from your old server).
    6) Upload the wp-content folder (from Step 5 above) to your new server. Overwrite the existing wp-content folder on the new server.
    7) Set your Permalinks in new server to match Permalinks on old server

    Step by step instructions from the Codex can be found here:

    http://codex.wordpress.org/Moving_WordPress

    Hope this helps!

  3. govpatel
    Member
    Posted 2 years ago #

    Is the domain name same as old server?

  4. streetwood
    Member
    Posted 2 years ago #

    Hey,

    Thanks a lot for the quick reply!

    So I basically had 1 folder on the old server called 'wordpress' that contained everything. I simply copied this onto the harddrive then FTP'd it onto the new server with the changes to wp-config.

    What I don't understand is why it went back to default settings?

    Thanks for the steps to changing it over, I will try this.

    Govpatel, Thanks for the reply. the domain name is different. Could this be an issue? I made changes to the dashboard general settings when it uploaded.

    If it matters, the folder is not the root of the URL. i.e to access the site I go to http://www.sitename.com/wordpress as oppose to just http://www.sitename.com

    Streetwood

  5. ChristiNi
    Member
    Posted 2 years ago #

    Hello again streetwood,

    Thank you for the update. Here are some things to double check:

    1) Did you update the site url in either the database or the wp-config.php file with the NEW domain name?

    http://codex.wordpress.org/Changing_The_Site_URL

    2) Just to be clear, you copied the wordpress folder from the old server and uploaded that folder to your new server. Make sure that all the wordpress files are in the correct folder (http://www.sitename.com/wordpress) and not a second subfolder (http://www.sitename.com/wordpress/wordpress)

    Let us know how this progresses.

  6. govpatel
    Member
    Posted 2 years ago #

    Yes it makes difference if the domain names are different as you will have make the changes in your database and change old domain to new one. As the domain names are saved in database in posts as well I have a article on my website that can help you how to change domain names in database .

  7. jbryl
    Member
    Posted 2 years ago #

    Please how would i use localhost with wordpress

  8. govpatel
    Member
    Posted 2 years ago #

    You need install a server on your computer like wamp if using windows.

  9. jbryl
    Member
    Posted 2 years ago #

    I do but is showing me there is error on my wp-config

  10. ChristiNi
    Member
    Posted 2 years ago #

    Hello jbryl,

    Sorry but this thread is on a completely different subject and your post really belongs in the localhost area of the forum. Please try posting your question there.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic