[wp-trac] [WordPress Trac] #6778: Redirect from domain.com to
www.domain.com causes redirect loop
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 19 13:46:15 GMT 2008
#6778: Redirect from domain.com to www.domain.com causes redirect loop
-------------------------+--------------------------------------------------
Reporter: Analogpoint | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version: 2.5
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Behavior:
If you put in http://www.domain.com in the "Wordpress Address" setting,
then Wordpress will automatically do a redirect from http://domain.com to
http://www.domain.com. Many hosting packages allow the user to deal with
www and non-www versions of their domain. This will cause an infinite
redirect loop if, for example, the "Wordpress Address" is set to
http://www.domain.com and the hosting setting is set remove the www from
the domain address-- to redirect http://www.domain.com to
http://domain.com.
Expected behavior:
When setting the "Wordpress Address" setting, it should have a note there
that the non-www version will automatically be redirected to the www
version of your domain, or vice-versa, according to the situation. Or it
should have the option to enable or disable that redirect.
--
Ticket URL: <http://trac.wordpress.org/ticket/6778>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list