简体   繁体   English

Wordpress永久链接结构更改不适用于某些帖子

[英]Wordpress Permalink structure Change not working for some posts

I have my blog in wordpress 3.4.1, and buddypress 1.5.6. 我的博客在wordpress 3.4.1和buddypress 1.5.6中。 Earlier, I was using the permalinks as the %postname% then later on for the inclusion in Google news I updated my blog permalink structure to /%category%/%year%/%monthnum%/%day%/%postname%/ and applied redirection of all the old posts backlinks to the new one manually by the help of redirection plugin of Wordpress. 之前,我将永久链接用作%postname%,然后将其包含在Google新闻中,我将博客的永久链接结构更新为/%category%/%year%/%monthnum%/%day%/%postname%/在Wordpress重定向插件的帮助下,将所有旧帖子的反向链接手动应用到新链接。 Now I changed my blog structure to change to /%category%/%postname%/ and applied the proper redirection as indicated by the redirection tool provided by you in htaccess. 现在,我将博客结构更改为/%category%/%postname%/,并按照您在htaccess中提供的重定向工具所指示的那样应用了正确的重定向。 Its also working fine for the few posts but for the older posts its still taking the old permalink Structure. 它对于少数职位也可以正常工作,但对于较旧的职位,仍采用旧的永久链接结构。
I assumed that It may be conflicting because of the redirection plugin applied. 我认为这可能是由于应用了重定向插件而发生冲突。 but it is not really so as I have tried after deleting the plugin as well. 但这并不是真的,正如我在删除插件后尝试过的那样。

The redirection working for few and not for other is really strange to me. 对于少数人而不是其他人来说,重定向工作对我来说真的很奇怪。

If anyone could help. 如果有人可以帮助。 It will be really great. 真的很棒。

Thanks in advance, Sam 预先感谢,山姆

听起来有些永久链接瞬态尚未清除。尝试运行此sql:

DELETE FROM `wp_options` WHERE `option_name` LIKE ('_transient_%');

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM