Navigation Links work selectively only on home page but not with categories
-
My website has an issue with navigation links for older and newer posts. I limit # of posts to 5 per page.
https://www.designbybsa.com has an Older posts navigation link at the bottom of the page that leads to https://www.designbybsa.com/page/2/ with no problem.
However, when you go to categories placed under the top menu, e.g. House Portraits – the older posts navigation link (at the bottom of the page) leads to a page “Not Found”
https://www.designbybsa.com/house-portraits/ – works OK
https://www.designbybsa.com/house-portraits/page/2/ – Not FoundI noticed that the way the permalinks are build affects this situation:
The structure of my permalinks is /%category%/%postname%/
Once you manually add “category” to the link that has an error the page goes to the page 2 with no problem. See below although I would prefer not to have category word in the link itself.
https://www.designbybsa.com/category/house-portraits/page/2/Since the two pages home and any category – use different templates (index.php and archive.php) I believe that there is a little bug in the code that creates that situation.
I did check the chrome setting, java etc. all seems to work fine. I deactivated all the plugins too and it does not solve the issue.
Any suggestions would be appreciated.
Thanks,
- The topic ‘Navigation Links work selectively only on home page but not with categories’ is closed to new replies.