• I have my posts under a category called “updates”

    So each post is now accessible at site.com/updates/post-1 etc

    Now I’m wanting site.com/updates to show posts under the category ‘updates’, but when I view this page it says not found.

    Funnily though accessing site.com/updates returns a page saying “Not Found
    Sorry, but you are looking for something that isn’t here.”
    followed by a search box.

    But when accessing a page like site.com/updates2 which I know does not exist, I get the regular 404 not found.. so I don’t understand why there’s a difference here, I guess WordPress knows that category exists but doesn’t know I want it to show the posts under it?

    Any help is much appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • When there are no posts in a category by default WordPress displays a 404 or similar page. Make sure you really do have posts in those categories.

    Thread Starter rachelkaye

    (@rachelkaye)

    Yes there are 20+ posts in the category that are viewed at site.com/updates/post-name, however site.com/updates is showing the error.

    Oh, I think I see what is going on.

    WordPress would not display a category page updates at site.com/updates/
    It would be at site.com/category/updates/ That is how WordPress works. Try at site.com/category/updates/ and see what happens.

    There are plugins that can remove the /category/ but normally WordPress includes that on all category URL’s

    Thread Starter rachelkaye

    (@rachelkaye)

    Yes that’s the very first url I tried, site.com/category/updates, I get the message: “Not Found
    Sorry, but you are looking for something that isn’t here.”

    However if I try to access a category that doesn’t exist, ie site.com/category/updates2 I get the regular WordPress 404 page, not the message above. So WordPress is somehow acknowledging the category exists but doesn’t seem to want me to be able to access it!

    do you have any other categories? see if this is only occurring with the updates category or if to all categories. if you have to, make a new category and assign some existing posts to it, for testing

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How to view posts in category’ is closed to new replies.