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.com/my_category/page/2. But it results in 404.

Any advice would be appreciated.

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.