Website in wordpress redirects to old URL after migration

后端 未结 7 783
离开以前
离开以前 2021-02-05 04:55

I had never done migrating a site on wordpress, I\'ll put step by step how I did, need to put the site on a new domain that are on the same server, so only the migrated files, t

7条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-05 05:35

    If this setting not work: define('WP_HOME','domain.com'); define('WP_SITEURL','domain.com');

    Try a new browser and clear cache. or try to disable all plugins and check if it working.

    Mine worked after i removed cache.

提交回复
热议问题