[wp-trac] [WordPress Trac] #19876: generate_rewrite_rules() for posts/pages should set $paged and $walk_dirs false
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 28 20:40:57 UTC 2012
#19876: generate_rewrite_rules() for posts/pages should set $paged and $walk_dirs
false
---------------------------+---------------------
Reporter: duck_ | Owner: duck_
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.4
Component: Rewrite Rules | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
---------------------------+---------------------
Changes (by duck_):
* owner: => duck_
* status: new => closed
* resolution: => fixed
Comment:
In [19778]:
{{{
#!CommitTicketReference repository="" revision="19778"
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.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19876#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list