Table of Contents
Actions to Relocate a WordPress Site in 5 Minutes
- Copy complete WordPress tree via ftp to new Location like: D:\xampp\htdocs\abu
- Edit wp-config.php to reflect NEW MySql login credentials
- Add define(‘RELOCATE’,true); to wp-config.php
- Run http://192.168.1.6/abu/wp-login.php [ confirm Database changes ]
- Navigate to Settings > General and verify that both the address are pointing to New URL : http://192.168.1.6/abu
- Comment out the RELOCATE switch from 3)
Reference
- https://codex.wordpress.org/Changing_The_Site_URL