Opened 6 years ago
Last modified 6 years ago
#45393 new defect (bug)
categories don't work in brand-new wordpress instance (return 404)
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.9.8 |
Component: | Taxonomy | Keywords: | |
Focuses: | Cc: |
Description
steps to reproduce:
- install new wordpress instance
- create a category
test
- go to its url http://example.com/category/test/
(i also tried /category/test (without closing slash))
expected result:
http status 200, "no items found" message
NOTHING FOUND It seems we can’t find what you’re looking for. Perhaps searching can help.
actual result:
http status 404, "page not found" message
OOPS! THAT PAGE CAN’T BE FOUND. It looks like nothing was found at this location. Maybe try a search?
even if you continue:
- add a post to the category
- visit category page again
-- you'll get the same result.
workaround:
- switch theme to
twenty fifteen
- switch back to
twenty seventeen
- visit category page again
-- now you get the expected result, the bug won't reproduce anymore
versions:
PHP Version 5.6.38
Chromium Version 70.0.3538.77 (Official Build) Built on Ubuntu , running on Ubuntu 18.10 (64-bit)
Note: See
TracTickets for help on using
tickets.
EDIT:
if you did follow the steps 4--5, then the expected result would be accordingly:
http status 200, list of posts contained in that category (the list would consist of 1 single post added on step 4).
-- but everything else is the same as with an empty category