[wp-trac] [WordPress Trac] #20067: WP Hijacks / Redirects actual page urls to search
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 18 16:28:21 UTC 2012
#20067: WP Hijacks / Redirects actual page urls to search
-----------------------------------+------------------------------
Reporter: ronnieg | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: 3.3
Severity: major | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+------------------------------
Comment (by duck_):
Replying to [comment:5 ronnieg]:
> but at what level does this issue go away? 2nd level page/post?
It doesn't. The search regular expression slurps up everything after
/search/:
{{{
^search/(.+)/?$
}}}
> What happens with deeper structures that have search as their page/post
name?
They shouldn't be affected. The regular expression is anchored to match
"search" at the very beginning of the URL.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20067#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list