admin管理员组文章数量:1323200
My wordpress permalink settings,
Custom Structure: %category%%postname%.
Used next_posts_link() in custom theme in archive.php to get next posts link.
Result: Next Page >> (display as expected)
But when i click the link it redirects correctly to mysite/my_category/page/2. But it results in 404.
Any advice would be appreciated.
My wordpress permalink settings,
Custom Structure: %category%%postname%.
Used next_posts_link() in custom theme in archive.php to get next posts link.
Result: Next Page >> (display as expected)
But when i click the link it redirects correctly to mysite/my_category/page/2. But it results in 404.
Any advice would be appreciated.
Share Improve this question edited Sep 24, 2020 at 13:16 fuxia♦ 107k38 gold badges255 silver badges459 bronze badges asked Sep 16, 2020 at 20:47 AkilanAkilan 11 Answer
Reset to default 0your missing a slash in your perma link structure it should be /%category%/%postname%
本文标签: paginationWordpress page2 gives 404 when custom permalinks is set to categorypostname
版权声明:本文标题:pagination - Wordpress page2 gives 404 when custom permalinks is set to %category%%postname% 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742102916a2420885.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论