Canonical redirect conflicts with hosting provider's redirect
|Reported by:||vocaro||Owned by:||markjaquith|
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
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.