[wp-trac] [WordPress Trac] #6779: domain.com to www.domain.com redirect is a 302 redirect
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 10 08:34:45 UTC 2009
#6779: domain.com to www.domain.com redirect is a 302 redirect
--------------------------+-------------------------------------------------
Reporter: Analogpoint | Owner: anonymous
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.9
Component: Permalinks | Version: 2.9
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+-------------------------------------------------
Comment(by markjaquith):
Replying to [comment:2 error]:
> This is still a serious issue. At the time this was originally opened
there was no good fix. Now that WP requires PHP 4.3 or later, a good fix
is available: use the http_response_code parameter in the PHP header()
call which was added in 4.3. A patch is attached. This is working for me
on my nginx/fastcgi setup.
Thanks for sticking with this, error! And thanks for the historical
context, Denis — that was helpful in jogging my memory. :-)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6779#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list