• Resolved barnsley242

    (@barnsley242)


    I have just moved my wordpress site.
    I have followed these instructions from GoDaddy:
    https://support.godaddy.com/help/article/6117/moving-your-wordpress-site-to-us-from-another-host

    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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: https://www.example.com to https://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.

    Thread Starter barnsley242

    (@barnsley242)

    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?

    You should follow the official guide: https://codex.www.ads-software.com/Changing_The_Site_URL

    Thread Starter barnsley242

    (@barnsley242)

    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:
    https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘moving to a new host and new domain name’ is closed to new replies.