WordPress.org

Forums

How to import local site to Godaddy (6 posts)

  1. satimis
    Member
    Posted 1 year ago #

    Hi all,

    I have a local website, say aaa, running on my server. To evoke it locally just type /localhost/aaa

    It works without problem. Please advise how to import it to Godady server including MySQL data base? I already have a subdomain created on Godaddy server but without installing WordPress on it.

    Thanks

    Rgds
    satimis

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Please see Moving_WordPress.

  3. satimis
    Member
    Posted 1 year ago #

    Hi esmi,

    Thanks for your link.

    After having read the link briefly it seems necessary making some changes on the local site. But I still need the local site for future development which is running on a VM of Oracle VirtualBox. I'll clone a new VM and make changes on it before moving the site.

    satimis

  4. redbobo
    Member
    Posted 1 year ago #

    If you are using a Linux server on godaddy you will need an htacess rewrite for the subdomain, I have moved wpsites in the past and used searchreplacedb2.php and works great. I'm having a similar issue because I have never moved to subdomain before and have a problem with getting htaccess to redirect to run searchreplacedb2.php.

  5. satimis
    Member
    Posted 1 year ago #

    H rebobo,

    Thanks for your advice.

    I'm subscribing Godaddy Linux server share-hosting. But I can't install;
    Database Search and Replace Script in PHP
    https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    on their server.

    satimis

  6. redbobo
    Member
    Posted 1 year ago #

    You do not install it, it is a script. You ftp the file in the root directory and open it in the browser. You can also do this in your existing server or localhost before exporting. When the script opens you type your old url and then the new url. It finds and replaced the url, which you could do with any text editor but it also replaces the serialized data that wp puts in the files which you cannot do with any text editor. If the serialized data does match the number of characters in the url you will have pages and post with errors.

Topic Closed

This topic has been closed to new replies.

About this Topic