WordPress重定向到另一个链接 [英] Wordpress redirect to another link
问题描述
起初,我在我的子域
http://organicbeautycare.wp.digmark.info/
中开发了一个 wordpress
网站.然后我将所有文件移到我的主要域
http://organicbeautycare.ml/
中.现在,我在我的 cpanel
中删除我的子域
.现在的问题是,当我转到主域时,它会在此 url
中将我 http://organicbeautycare.wp.digmark.info/
重定向.
At first i develop a wordpress
site in my sub-domain
http://organicbeautycare.wp.digmark.info/
. Than i move all file in my main domain
http://organicbeautycare.ml/
. Now i delete my sub-domain
in my cpanel
. Now the problem is when i go to my main domain it's redirect me http://organicbeautycare.wp.digmark.info/
in this url
.
我现在该怎么办?我尝试了很多次.我也编辑了 detabase
网站名称,但无法正常工作.
What should i do now? I tried many time it's. I edit my detabase
site name also but not working.
推荐答案
导出数据库,用数据库中的新域名替换所有存在的旧域名&再次导入.
Export your database, Replace all the existence of old domain name with new domain name in the database & import again.
您需要再次从Wordpress管理员中保存永久链接.另外,在某些情况下,您可能需要设置默认菜单&再次使用主题徽标
You need to save your permalinks again from wordpress admin. Also, in some cases you might need to set default menu & theme logo again
这篇关于WordPress重定向到另一个链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!