After more than a month since I upgraded to WordPress 2.3.1 I finally was able to make it work normally. I Even send an email to GoDaddy customer support but of course they said “you changed scripts, then you are responsible for those changes and there is nothing we can do”, well, I searched everywhere about redirection issues with WordPress and I found nothing related to what I was experiencing (being sent from a subdomain to a domain that had nothing to do with my installation), the only thing that I saw and got me some light into the issue was the URL improvements for WP 2.3.
So there was nothing to do with the .htaccess, I was thinking about making changes there, but there was not a single instruction or issue that could cause the symptom so I didn’t even bother touching it.
Looking at the php code function redirect_canonical($requested_url=NULL, $do_redirect=true) that I found on that article showed me that they fill some variables out of the settings, and so I went to the options page of my installation and playing with them I finally got the answer.
In order to make WP2.3.2 works as the earlier version that I had installed, I had to modify these two options:
WordPress address (URL):
Blog address(URL):
This because the canonical url improvement uses them to figure out the HTTP_HOST and so the way it was before would return www.munizfam.com as the host instead of blog.munizfam.com.
And that’s how everything got fixed and the installation is happy as always.
Blogalaxia Tags: Coding PHP Webmaster WordPress