当前位置: 动力学知识库 > 问答 > 编程问答 >

WordPress GUID PermaLinks - should I change them?

问题描述:

I'm moving a WordPress blog from:

www.oldsite.com/blog/

www.newsite.com

When I export the XML Blog Post file it contains URL reference to the old domain for each blog post, for example:

<guid isPermaLink="false">http://www.oldiste.com/bog/?p=1275</guid>

*** This will be wrong when imported to new site ***

Before I import the file into the new WordPress site should I change each instance of the incorrect GUID file?

网友答案:

You shouldn't do it when moving database from one production site to another new production site. This article explained the reasons very well.

From a local dev site to a production site, you should. But make sure the guid and the real permalink point to the same content. You should follow this guidelines.

分享给朋友:
您可能感兴趣的文章:
随机阅读: