WordPress moving script (move to another host or domain) (10 posts)

  1. halty
    Posted 3 years ago #


    Every now and then I need to move a wordpress website to a new webhost. To make my life easier, I have developed a script that automatically moves WordPress to another webhost or domain. It automatically updates all links, etc.

    I am considering spending more time on this script to make it more user-friendly, but for now I need to find out if anyone needs this at all.

    Anyway, you can try the script here:
    http://www.halty.net/website_mover_0.2.zip (v0.2)


    Step 1. Create a new database on your TARGET website/server and note database name, user and password.

    Step 2. Upload halty_source.php into your SOURCE wordpress root directory (i.e., where you have your index.php)

    Step 3. Upload halty_target.php into your TARGET wordpress root directory (where you want your index.php to go to)

    Step 4. Open halty_source.php in your web browser and enjoy!

    Let me know if you think this is of any use at all.

  2. halty
    Posted 3 years ago #

    I have updated the script to v0.3:

    Now the script will not rely on shell_exec or mysql command availability (will use internal mysql import-export engine)

  3. halty
    Posted 3 years ago #

    I have updated the script to v0.4:

    Fixed a compatibility issue with Godaddy's broken PHP

  4. Santosh
    Posted 3 years ago #

    This is not the correct forum for adverting your script. I like your Idea I will try it. put this information in http://wordpress.org/support/forum/hacks

  5. No, this is fine here :) It's not a hack, it's sort of a plugin, but not really.

    Halty, have you ever thought about putting this up on GitHub.com?

  6. Santosh
    Posted 3 years ago #

    yes it is a good idea. have you seen his script.

  7. halty
    Posted 3 years ago #

    I have never used github. What benefit will github give me or anyone else? :)

  8. Santosh
    Posted 3 years ago #

    other developers will join you and help you in improving your script. i have downloaded your script. can you tell me how it is working than i may modify it help you in development. understanding it takes time.

  9. darttiglao
    Posted 3 years ago #

    Truly incredible script. I have done many kinds of moves manually but this was the fastest and headache free.

    Just wondering I've used your script on a black target. But would it overwrite and existing wp installation(including folders) and the existing database

  10. halty
    Posted 3 years ago #

    Of course it will :)

Topic Closed

This topic has been closed to new replies.

About this Topic