Skip to content
Commit d51fe529 authored by Jon Cave's avatar Jon Cave
Browse files

Redirect bare category URLs for permalink structures starting with %category%. Fixes #19876.

When using a structure like /%category%/%postname%/ it might be thought that /uncategorized/
(missing the "/category/" base) results in the category archive. Previously this worked due to
$walk_dirs = true for the post permalink structure, but canonical didn't redirect it. Now
there is no rewrite rule to match => 404. The fix is to use a canonical redirect.


git-svn-id: https://core.svn.wordpress.org/trunk@19778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 31c7c173
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment