WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. halty
    Member
    Posted 1 year ago #

    Hi,

    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)

    Instructions:

    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
    Member
    Posted 1 year ago #

    I have updated the script to v0.3:
    http://www.halty.net/website_mover_0.3.zip

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

  3. halty
    Member
    Posted 1 year ago #

    I have updated the script to v0.4:
    http://www.halty.net/website_mover_0.4.zip

    Fixed a compatibility issue with Godaddy's broken PHP

  4. Santosh
    Member
    Posted 1 year 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
    http://wordpress.org/support/forum/your-wordpress

  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
    Member
    Posted 1 year ago #

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

  7. halty
    Member
    Posted 1 year ago #

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

  8. Santosh
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Of course it will :)

Topic Closed

This topic has been closed to new replies.

About this Topic