[wp-trac] [WordPress Trac] #12456: Canonical URL redirect issue with post_id/postname permalink structure

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 2 14:06:38 UTC 2010


#12456: Canonical URL redirect issue with post_id/postname permalink structure
-------------------------------+--------------------------------------------
 Reporter:  Frank.Prendergast  |       Owner:  ryan                         
     Type:  defect (bug)       |      Status:  new                          
 Priority:  normal             |   Milestone:  Unassigned                   
Component:  Permalinks         |     Version:  2.9.2                        
 Severity:  normal             |    Keywords:  permalinks canonical redirect
-------------------------------+--------------------------------------------
 The issue:

 Using /%post_id%/%postname%/ as permalink structure,
 Most canonical redirects work fine, except:

 domain.com/post_id/ brings you to the post but does not redirect to the
 canonical domain.com/post_id/postname/

 Additional info:

 The above permalink structure conforms to best practice as described in
 the codex:
 http://codex.wordpress.org/Using_Permalinks#Structure_Tags

 Therefore I figured this was a bug, given the attention given to
 redirecting to the canonical url "So to avoid confusing search engines and
 to consolidate your rankings for your content, there should only be one
 URL for a resource."
 http://markjaquith.wordpress.com/2007/09/25/wordpress-23-canonical-urls/

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12456>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list