WordPress.org

Ready to get started?Download WordPress

Forums

How to move WP site to another domain? (8 posts)

  1. kataoki
    Member
    Posted 2 years ago #

    Hi,

    Can someone please tell me (authoritatively) how to MANUALLY move an existing WordPress site on one domain to another?

    I've already tried using export/import as well backup & restore tools, but it doesn't work for this site, hence my request for the "manual" directions to do this.

    I would like to know what exactly to copy over from the existing site to the new site, and if I need to change anything in the files to make it work. (Copying my theme application folder did not work, so clearly there is more to it that this)

    If someone could tell me I'd really appreciate it - there are so many confusing directions on the internet, and so far nothing has worked, and I can't believe it's that hard since people do it all the time.

    Thanks much =)

  2. itsonlybarney
    Member
    Posted 2 years ago #

  3. I've already tried using export/import as well backup & restore tools, but it doesn't work for this site, hence my request for the "manual" directions to do this.

    Really? Except for remembering to let WordPress download the images for galleries, I've never had a problem. That's how I usually populate my test install from the live site.

    If you mean change the settings from one domain to another for a live site... Have you given this a read?

    http://codex.wordpress.org/Moving_WordPress#Moving_to_a_New_Server

    Make sure you make a full file and database backup of your installation before you try or poke at this.

    http://codex.wordpress.org/WordPress_Backups
    http://codex.wordpress.org/Backing_Up_Your_Database
    http://codex.wordpress.org/Restoring_Your_Database_From_Backup

  4. kataoki
    Member
    Posted 2 years ago #

    Hi,

    If someone can recommended an import tool that works, I'm all for it. I used "http://wordpress.org/extend/plugins/wordpress-importer/" and got tons of error messages to the effect that my slider type was incompatible, yada ya... the resulting website was a complete mess.

    I am not moving the site to a new server, I just want to move it from mysite.com to mysite.com.au, which are both hosted on hostgator.

    Thanks

  5. kataoki
    Member
    Posted 2 years ago #

    @itsonlybarney:

    I gave the codex a read, but I don't know what it means by "update your database". I don't know what a WP database is, or which files comprise it :-)

    Can someone please advise me how to copy over all my WP files AND database (which directories, basically) to the new site, and which files require the search and replace, as described below?

    thanks!

    ----------------
    When your domain name or URLs change

    - i.e. from http://example.com/blog to http://example.com, or http://example.com to http://newexample.com - there are additional concerns. The files and database can be moved, however references to the old domain name or location will remain in the database, and that can cause issues with links or theme display.

    If you do a search and replace on your entire database to change the URLs, you can cause issues with data serialization, due to the fact that some themes and widgets store values with the length of your URL marked. When this changes, things break. To avoid that serialization issue, you have two options:

    1.Only perform a search and replace on the wp_posts table.
    2.Use the Search and Replace for WordPress Databases Script to safely change all instances.

  6. I am not moving the site to a new server, I just want to move it from mysite.com to mysite.com.au, which are both hosted on hostgator.

    Well... it's like driving a car. It's really easy when you know how.

    Is your DNS already setup correctly for mysite.com.au? I mean, if you visit mysite.com.au does it go to your existing WordPress installation? if it does then WordPress should redirect it back to mysite.com. Let us know if that's the case or not.

    If that is the case you should be able to make a settings change to your current setup and almost be 100% there.

    I say this three times: make a full backup, make a full backup, make a full backup. And know how to restore both the files and database. It's your best defense against The Bad Thing™ happening to your WordPress installation.

  7. iryono
    Member
    Posted 2 years ago #

    If your web hosting in the same server ...
    Just copy the files to for example mysite.com/blog to mysite.com using ftp ...
    Just move files from the hosting to your computer than upload it again (using ftp like filezilla) ...

    after that edit wp-login.php in your mysite.com
    add this in that file :

    update_option('siteurl', 'http://mysite.com' );
    update_option('home', 'http://mysite.com' );

    Note :
    if you have many manual links which point to your old domain. Just using plugin to replace the old links (http://wordpress.org/extend/plugins/search-and-replace/)...

  8. Saimurai
    Member
    Posted 1 year ago #

    Hi folks, if im moving from a .net to a .com which one of these is it? ;

    1 When Your Domain Name and URLs Do Not Change
    2 When Your Domain Name or URLs Change
    2.1 On Your Existing Server
    2.1.1 If you forget to change the locations
    2.1.2 If you have accidentally changed your WordPress site URL
    2.2 Moving to a New Server
    2.3 If You Don't Care If Your Old Blog Works
    2.4 If You Want Your Old Blog To Still Work

    im trying to move from my test site at http://www.saikoproductions.net to http://www.saikoproductions.com. I have full access as i host it myself.

    Cheers,

    Sai

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.