Make WordPress Core

Opened 14 years ago

Last modified 3 years ago

#6778 reopened enhancement

Redirect from domain.com to www.domain.com causes redirect loop — at Initial Version

Reported by: Analogpoint Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 2.5
Component: Permalinks Keywords: needs-patch dev-feedback
Focuses: Cc:



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.

Change History (0)

Note: See TracTickets for help on using tickets.