这是因为数据库存储有关旧域的信息。
在中打开数据库phpmyadmin 并运行此查询。代码将用新域替换旧域。
UPDATE wp_options SET option_value = replace(option_value, \'https://mrafiee.net\', \'https://old.rafiee.net\') WHERE option_name = \'home\' OR option_name = \'siteurl\';
UPDATE wp_posts SET guid = replace(guid, \'https://mrafiee.net\',\'https://old.rafiee.net\');
UPDATE wp_posts SET post_content = replace(post_content, \'https://mrafiee.net\', \'https://old.rafiee.net\');
UPDATE wp_postmeta SET meta_value = replace(meta_value,\'https://mrafiee.net\',\'https://old.rafiee.net\');