Giter Site home page Giter Site logo

maheshruparel / wordpress-domain-changer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from veloper/wordpress-domain-changer

0.0 2.0 0.0 103 KB

A self-contained script/tool developed to help ease migration of WordPress sites from one domain to another.

Home Page: http://dan.doezema.com/2010/04/wordpress-domain-change/

License: Other

wordpress-domain-changer's Introduction

WordPress Domain Changer

Purpose

A self-contained script/tool developed to help ease migration of WordPress sites from one domain to another.

Usage

Please Visit This Page for a complete overview.

  1. Backup your WordPress database.
  2. Seriously, Back Up Your Database!
  3. Situation One: You have a new server where you intend to upload your existing WordPress site files.
    1. Export the current WordPress database data into a sql dump file.
    2. Create a MySQL database on the new server.
    3. Import the WordPress database dump file into the newly created database.
    4. Open up the wp-config.php file and set DB_HOST, DB_USER, DB_PASSWORD, and DB_NAME to the correct values for the new server.
    5. Upload the WordPress directory contents to the domain directory on the new server.
  4. Situation Two: The WordPress files and database locations have not changed — just the domain name.
    1. Skip to step 5.
  5. Open up wp-change-domain.php in a text editor and scroll down to the “CONFIG” section.
  6. Under “Authentication Password” replace the default password with a VERY secure password of your choice.
  7. Upload wp-change-domain.php to the root directory of the WordPress site.
    1. the root directory is where the wp-config.php is located.
  8. In a web browser go to: http://www.yourNewDomain.com/wp-change-domain.php
  9. Type in your password that you set in step 6 at the authentication prompt.
  10. You will now be presented with the domain changer form.
  11. The script will try and auto-detect all of the settings, but it’s up to you to confirm they are all correct.
  12. Take one last look at the settings to verify that they are correct… then click the “Submit!” button.
  13. Go to your site’s home page at the new domain — all should be working!
  14. Once the domain has been changed remove this script from the server!

Website

http://dan.doezema.com/2010/04/wordpress-domain-change/

License

Wordpress Domain Changer is released under the New BSD license. http://dan.doezema.com/licenses/new-bsd/

Author

Daniel Doezema

Contributors

wordpress-domain-changer's People

Contributors

veloper avatar kevindeleon avatar mike-rsi avatar

Watchers

James Cloos avatar Mahesh Ruparel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.