[wp-trac] [WordPress Trac] #12601: Post_type + non-existant object + Canonical

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 20 06:49:08 UTC 2010


#12601: Post_type + non-existant object + Canonical
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:  markjaquith
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  Canonical     |     Version:  3.0        
 Severity:  normal        |    Keywords:             
--------------------------+-------------------------------------------------

Comment(by dd32):

 > attachment 12601.2.diff  added
  * Needs Testing.

  * If a request is for a Post (ie. /2008/12/somethi), then the 404 search
 will only look for posts with 'somethi%'
  * If a request if for a Page (ie. /somethi), then the 404 search will
 look at both pages AND posts

 Its a step forward IMO, but still doesnt prevent page -> post redirects.
 It nearly seems like leaving that functionality present would be best,
 while avoiding the obviously incorrect redirects from post permalinks to
 pages.

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


More information about the wp-trac mailing list