[wp-trac] [WordPress Trac] #5306: Canonical redirect conflicts with hosting provider's redirect

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 1 23:30:02 GMT 2007


#5306: Canonical redirect conflicts with hosting provider's redirect
-------------------------+--------------------------------------------------
 Reporter:  vocaro       |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.5      
Component:  General      |     Version:  2.3      
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 WordPress 2.3 includes a new canonical redirect feature. It is designed to
 deal with such problems as Google seeing `yoursite.com` and
 `www.yoursite.com` as two different entities.

 Some hosting providers offer a similar redirect feature. With DreamHost,
 for example, you can configure your domain so that the web server
 redirects any request for `www.yoursite.com` to `yoursite.com` (i.e., it
 removes the `www` prefix).

 When both of these features are enabled at the same time, they conflict
 with each other. You will experience HTTP errors such as:

   Too many HTTP redirects

 or:

   Firefox has detected that the server is redirecting the request for this
 address in a way that will never complete.

 To fix this problem, you must go to the WordPress admin page and switch to
 the Options > General section. For the WordPress address and Blog address
 entries, remove the `www` prefix from both URLs.

 The canonical redirect feature should be changed so that this problem
 doesn't occur. For example, canonical redirection could be disabled by
 default, or perhaps there is some way for WordPress to detect the `www`
 prefix removal by the web server and then automatically remove `www` from
 the URL entries in the WordPress settings. At the very least, there should
 be a documentation note on this problem and how to fix it.

 This ticket is related to #5089 and #5017.

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


More information about the wp-trac mailing list