[resolved] moving to a new host and new domain name (5 posts)

  1. barnsley242
    Posted 2 years ago #

    I have just moved my wordpress site.
    I have followed these instructions from GoDaddy:

    Which basically said do this:
    1. download an existing copy of entire site.
    2. Installed a new wordpress site on GoDaddy server.
    3. Obtained mew connection string details (for user, password and host) and amended wp config file.
    4. Used FTP to transfer over the copied files of my wordpress site to goDaddy server.

    Reading some other documentation – I notice that I should perhaps also change these settings too:
    WordPress address (URI): and Site address (URL) - i.e. to the new location address?

    I have not done this, so not sure what to do now.
    Is there a script I should run in MySQL to amend my old address to the new address?

  2. SKTThemes
    Posted 2 years ago #

    Yes not sure what's written in that article.

    Here is how you should do it.

    Download the mysql database and then open it using dreamweaver.

    If not then in editplus.

    Once downloaded you can click on A<->B on Edit plus and find the url something like: http://www.example.com to http://www.newsite.com

    No backslash after .com please.

    Once done click on replace all.

    Once all are replaced go to phpmyadmin of new site and then drop the existing database and upload the new one.

    I think this is what is pending from your end.

    Files if copied in total should run the site on new domain and server.

  3. barnsley242
    Posted 2 years ago #

    Thanks for your reply,
    I’ve just notice further down on their instructions another step which is titled:
    ‘Restore your database’
    (I disregarded this because I thought it meant just to restore to an old back up),
    but not sure if this will change to the new domain automatically when importing?
    - not sure if it will because at no point have I changed the domain name anywhere yet.

    To Restore Your Database
    1. Log in to your Account Manager.
    2. Click Web Hosting.
    3. Next to the hosting account you want to use, click Launch.
    4. In the Databases section of the Hosting Control Panel, click MYSQL.
    5. Click Manage via phpMyAdmin next to the new database you previously created.
    6. Log in to your MySQL database.
    7. Click the Database Name on the left.
    8. Click Import, and then click Browse.

    Couldn it also be done direct in phpmyadmin?

  4. Xavi86
    Posted 2 years ago #

    You should follow the official guide: http://codex.wordpress.org/Changing_The_Site_URL

  5. barnsley242
    Posted 2 years ago #

    thanks everyone.
    I have started again and now sorted.

    I used propper guide from codex ( i got confused by godaddy advice and it didnt work out).

    I changed my url in wordpress first then took a database copy,
    then used the search and replace tool:

Topic Closed

This topic has been closed to new replies.

About this Topic