Correction du fichier /var/www/wordpress1/wp-config.php:
aux deux lignes suivantes:
define( 'WP_HOME', 'http://ve2rvl.dyndns.org:10002' );
define( 'WP_SITEURL', 'http://ve2rvl.dyndns.org:10002' );
Corrections dans la base de donnees mysql:
Pour utiliser le client mysql:
mysql -u root -p
---> entre le mot de passe pour root
Choix de la base de donnees a corriger:
show databases;
use wp1;
show tables;
describe wp1_options;
select option_name, option_value from wp1_options where option_name = 'siteurl';
update wp1_options set option_value = replace(option_value, '51.79.84.144', 've2rvl.dyndns.org') where option_name = 'siteurl';
select option_name, option_value from wp1_options where option_name = 'siteurl';
select option_name, option_value from wp1_options where option_name = 'home';
update wp1_options set option_value = replace(option_value, '51.79.84.144', 've2rvl.dyndns.org') where option_name = 'home';
select option_name, option_value from wp1_options where option_name = 'home';
describe wp1_posts;
select guid from wp1_posts;
update wp1_posts set guid = replace(guid,'51.79.84.144', 've2rvl.dyndns.org');
select guid from wp1_posts;
flush privileges;
exit