[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:04:39 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 ronnieg):

 Thanks for the patch duck. Will try it out on my dev site today.

 On my DenverHomeValue.com, and also on many of my other RE client's WP
 sites, there are actually several child pages under the /search/ parent,
 not just the one example I cited. I set all of my real estate client sites
 up that way. The parent page, /search.html, is not affected, but all of
 its child pages are. There are no external redirects for any of the pages
 affected, except a few that redirect old urls (from the old Joomla/html
 versions of the site) TO the affected urls.

 I read the explanation in #16687, and while I agree that improving
 performance is important, where possible, I do not agree that it should be
 at the expense of breaking a site's existing permalink structure. Use of a
 page and structure /search/ is very common in the real estate community,
 so the negative impact could be tremendous, affecting hundreds if not
 thousands of other real estate WP sites.

 IMO, if search is to be a special case, then it needs its own, unique
 rules and triggers, triggers that should not limit a site owner's ability
 to design and use whatever post/page names they want and need to. How are
 you going to advertise to the world, especially the real estate world,
 that WP is no longer capable of supporting top level page/post names of
 /search/ without breaking the site design? I haven't tested yet, but at
 what level does this issue go away? 2nd level page/post? What happens with
 deeper structures that have search as their page/post name? Will be trying
 out some of that later today.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20067#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list