[wp-trac] [WordPress Trac] #45393: categories don't work in brand-new wordpress instance (return 404)
WordPress Trac
noreply at wordpress.org
Wed Nov 21 17:32:35 UTC 2018
#45393: categories don't work in brand-new wordpress instance (return 404)
--------------------------+-----------------------------
Reporter: awardpress | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.9.8
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
steps to reproduce:
1. install new wordpress instance
2. create a category `test`
3. 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:
4. add a post to the category
5. visit category page again
-- you'll get the same result.
workaround:
6. switch theme to `twenty fifteen`
7. switch back to `twenty seventeen`
8. 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)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45393>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list