[wp-hackers] When HTTP_HOST does not point to the blog

Oliver Hohlfeld oliver at ohohlfeld.com
Wed Jun 25 08:23:01 GMT 2008


> Okay, now this is familiar territory! Since it is an issue with your
> configuration, you should put the fix in your customized wp-config.php
> file rather than in WordPress. Something like this:
> if ( isset( $_SERVER['HTTP_X_FORWARDED_HOST'] ) )

This is an elegant work-around. Thanks for the hint! Sometimes one
doesn't see the wood for the trees. ;-)


More information about the wp-hackers mailing list