Posts not showing when parent/child category selected
-
My posts are saying ‘not found’ when I select parent and/or child cateogories.
I would like https://www.sitename.co.uk/parent-category/child-category/name-of-post. In this case https://www.powdigitalcamp.co.uk/projects/roman-road-london/workshop.
My permalink setting is on Custom with /%category%/%post-name%/ and the permalink on the post shows correctly eg https://www.powdigitalcamp.co.uk/projects/roman-road-london/workshop.
However when I click View Post, it says not found.
It’s very strange as I’ve done this with several websites and its working fine for those.
THINGS I HAVE ALREADY CHECKED:
I have a Yoast plugin. When I set it KEEP Category base from URL, the *category* URLs work eg https://www.powdigitalcamp.co.uk/category/projects and https://www.powdigitalcamp.co.uk/category/projects/roman-road-london BUT the *post* URL (www.powdigitalcamp.co.uk/projects/roman-road-london/workshop) still says not found
When I set it the Yoast plugin to REMOVE Category base from URL, the *category* URLs DON’T work and I get ‘oops not found’ message for both the *category* URL and the *post* URL.
However, I have disabled YOAST completely and still have get ‘post not found’ when a category is selected (though this doesn’t explain why ‘stripping’ category from base is not working correctly for Yoast).
Posts are only selected with either the child or parent category, not both.
I have replicated this in another website I built using Sydney and it works fine.
When I unselect the categories, my post displays correctly.
I have deactivated my ‘Redirection’ plugin. In fact I have deactivated everything except for Askmet, Contact Form 7, Site Orgin Widget Bundle and Pagebuilder by Origin.
Any help much appreciated as I’ve been on this for five hours now!
Thanks
- The topic ‘Posts not showing when parent/child category selected’ is closed to new replies.