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 1
Add a comment  | 

1 Answer 1

Reset to default 0

your missing a slash in your perma link structure it should be /%category%/%postname%

本文标签: paginationWordpress page2 gives 404 when custom permalinks is set to categorypostname