Welcome to RT-Themes Support Forum

If you've purchased an RT-Theme from Themeforest, you can use the forum for your support needs. You will receive much faster support because we can easily see who needs assistance, and also you’ll be able to use search to see if your problem has been solved in the past and find a fix for it without having to wait.
Tutorial : How to move your (demo-test) WordPress site to another domain
  • What todo if you move a wordpress site from a subfolder or a subdomain to the root of a domain?

    What todo if you move a wordpress site from a olddomain to a new domain?

    Before you even start make sure you have a complete backup of everything (database and all folders of your current wordpress install)

    0) Turn off as many plugins as possible (no need to remove them, just turn them off)... Caching plugins can be a pain in the ...... causing all kinds of troubles.

    1) backup your database. Either use a plugin (http://wordpress.org/extend/plugins/wp-db-backup/) or just backup the database by phpmyadmin. (i always use the backup facility in phpmyadmin).

    2) create a database on the new server (new name, user and password). Do not attempt to install wordpress or create a database via wordpress.

    3) import the database data from the old website into the newly created database at the new website by phpmyadmin.

    4) copy / download from your old wordpress site everything. (all folders). If the website is in a subfolder download the complete subfolder plus all of its contents.

    5) Edit the wp-config.php to point to the new database name and database user and password. Edit your .htaccess file if needed because of custom adjustments or leftovers from a cache plugin.

    6) upload your downloaded complete wordpress install to the new server with the modified wp-config.php, .htacces and or robots.txt. If the new location is in a subfolder then upload all backupped content into the subfolder.

    7) if new and old website addressnames (or subfolder-/or subdomains names) are not equal - so this also applies to relocating from a subdirectory - you will have the modify all links in the database from old site links to new site links. This can be done by a script. The script can be downloaded here. http://interconnectit.com/124/search-and-replace-for-wordpress-databases/

    Upload the script to the root of your new website.

    8) Execute the searchandreplace script. (http://YourNewWebsite.com/searchandreplace2.php) (the name can differ if the scripts updates). Follow the script. However make sure that you do not set to "leave the GUID untouched". So leave it unchecked !!!! And use full path names !!! See the difference in the pathnames examples down below. Either add the ending forward slash in both paths or dont add the ending forward slash in both paths (do not create a mix: one with and one without). (I never use the ending forward slash otherwise some links are missed in the process. But in case you do be consequent and use them in both paths).

    9) After all link adjustsments have been done remove the searchandreplace script !!! otherwise your server is at risk of being hacked.

    F.E. Beneath are examples !!! you only need one of them !!!

    From subdirectory to root (can also be new wesbiteaddress)

    1) http://oldwebsiteurl/subdir to http://newwebsiteurl

    2) http://oldwebsiteurl/subdir/ to http://newwebsiteurl/

    From old website address to new website address

    3) http://oldwebsiteurl to http://newwebsiteurl

    4) http://oldwebsiteurl/ to http://newwebsiteurl/

    From subdomain to root (can also be new wesbiteaddress)

    5) http://www.oldwebsiteurl to http://newwebsiteurl

    6) http://www.oldwebsiteurl/ to http://newwebsiteurl/

    in case you didn't know www. is also and has always been a subdomain path...

    9) Now login in : what is left to do?

    a) login to your admin on the new site. look for hard links in your theme settings and or widgets and modify them manually.

    b) resave your permalinks (if needed. f.e. when images are not showing up).

    c) modify your admin email address and your wp global emailaddress. if neccessary.

    d) Turn on your plugins.

    read more?





    If you do not want todo this manually... There exists a plugin called backupbuddy. But it will cost money and it will in some cases not work on sites which are not accessable by a live url even if a spoof is used.

    Disclaimer. We cannot be held responsible for any loss (of data ) caused by the information, steps, links etc. in this article. The use of all of this is at your own risk !!!

    Very Usefull Video Instructions

    Best regards,
This discussion has been closed.
All Discussions