Migration of a remote WordPress site to a USB key
-
Hello,
My current WP configuration
WordPress Version: 4.9.8
Theme used: Twenty Eleven
PHP / MySQL Version: 5.6I want to make a copy from a remote WordPress site to a USB key. I have almost succeeded but I still have some problems. Let’s imagine that my addess’ site is https://www.mysite.fr/
I installed UwAmp on the key: PHP 5.6.18, MySQL 5.7.11
Apache, PHPMyAdmin, etc … work perfectly.Using FileZilla, I imported all the files from www/mysite on the PHPNet server and I put them under I:\UwAmp\www\ monsite on my key.
Using PHPMyAdmin, I exported the database and imported it to the key. Its name is unchanged.
By means of DBSR-master, installed under I:\UwAmp\www\mysite, I replaced in the database all occurrences of https://www.mysite.fr by http: //localhost.monsite. More than 1500 occurrences were found.
In wp-config.php, I corrected the following lines:
define (‘DB_USER’, ‘root’);
define (‘DB_PASSWORD’, ‘root’);
define (‘DB_HOST’, ‘localhost’);When I enter the URL localhost/mysite/in my browser, the homepage of my site is correctly displayed (with its theme, etc …). External links also work, of course. However, when I enter another internal URL than this of the homepage (or click on an internal link to the site), the UwAmp page is displayed: the one corresponding to I:\UwAmp\www\index.php. The URL remains in the navigation bar.
Do you have any idea what’s going on? Thanks in advance.
Regards,
Piblo
- The topic ‘Migration of a remote WordPress site to a USB key’ is closed to new replies.