admin管理员组文章数量:1023220
I am experiencing a strange error with my Wordpress install.
I've got a dozen of pages, %postname% permalink structure, everything works fine.
For one of the published pages, I reverted it to draft mode, edited for a couple of days, then published it again. Now, when I try to access its permalink, I get a 404 error. If I change the slug by 1 symbol, it works. But the initial slug does not. Any idea how to fix it? Thanks!
Can share the website if necessary.
Edit: I did all the "fixes" that I found by Googling: refresh .htaccess, disable all plug-ins to see if it's a plugin issue, disable caching, update permalink structure... Nothing worked.
I am experiencing a strange error with my Wordpress install.
I've got a dozen of pages, %postname% permalink structure, everything works fine.
For one of the published pages, I reverted it to draft mode, edited for a couple of days, then published it again. Now, when I try to access its permalink, I get a 404 error. If I change the slug by 1 symbol, it works. But the initial slug does not. Any idea how to fix it? Thanks!
Can share the website if necessary.
Edit: I did all the "fixes" that I found by Googling: refresh .htaccess, disable all plug-ins to see if it's a plugin issue, disable caching, update permalink structure... Nothing worked.
Share Improve this question asked Apr 26, 2019 at 20:21 DenisDenis 11 bronze badge 1- Not really an answer, but if you install the Query Monitor plugin it has a section for matched rewrite rules. It might help you debug the difference between a page that's working and one that's not. – tmdesigned Commented Apr 26, 2019 at 22:35
1 Answer
Reset to default 0OK so I've spent a couple of more hours working on this and was examining my database through phpmyadmin. In the table wp_terms I noticed that I had terms identical to my page's slug. Turns out I had a tag named like this. I deleted the tag, and voila - no more 404 error. Hope this may help somebody.
I am experiencing a strange error with my Wordpress install.
I've got a dozen of pages, %postname% permalink structure, everything works fine.
For one of the published pages, I reverted it to draft mode, edited for a couple of days, then published it again. Now, when I try to access its permalink, I get a 404 error. If I change the slug by 1 symbol, it works. But the initial slug does not. Any idea how to fix it? Thanks!
Can share the website if necessary.
Edit: I did all the "fixes" that I found by Googling: refresh .htaccess, disable all plug-ins to see if it's a plugin issue, disable caching, update permalink structure... Nothing worked.
I am experiencing a strange error with my Wordpress install.
I've got a dozen of pages, %postname% permalink structure, everything works fine.
For one of the published pages, I reverted it to draft mode, edited for a couple of days, then published it again. Now, when I try to access its permalink, I get a 404 error. If I change the slug by 1 symbol, it works. But the initial slug does not. Any idea how to fix it? Thanks!
Can share the website if necessary.
Edit: I did all the "fixes" that I found by Googling: refresh .htaccess, disable all plug-ins to see if it's a plugin issue, disable caching, update permalink structure... Nothing worked.
Share Improve this question asked Apr 26, 2019 at 20:21 DenisDenis 11 bronze badge 1- Not really an answer, but if you install the Query Monitor plugin it has a section for matched rewrite rules. It might help you debug the difference between a page that's working and one that's not. – tmdesigned Commented Apr 26, 2019 at 22:35
1 Answer
Reset to default 0OK so I've spent a couple of more hours working on this and was examining my database through phpmyadmin. In the table wp_terms I noticed that I had terms identical to my page's slug. Turns out I had a tag named like this. I deleted the tag, and voila - no more 404 error. Hope this may help somebody.
本文标签: 404 error on published page with specific permalink
版权声明:本文标题:404 error on published page with specific permalink 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745547045a2155442.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论