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%