Muñiz Arzola Weblog

Actividades y eventos de la familia, con ciertas incursiones de tecnologia

Google

WordPress Upgrade finished

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:

Categories: English, Tecnologia, Webmaster

Posted by: Erick Muñiz on Wednesday, January 16, 2008

Redirection Issues

Well, I guess this is why QA exists.

I just found out that my WordPress upgrade broke the redirection of the blog, now blog.munizfam.com instead of going to www.munizfam.com/blog goes to www.munizfam.com. I read that there has been some work on the redirection area for the WP2.3.1 (The Canonical URL Improvements to WordPress) and I think it messed up with the way I have my configuration.

I went up to WP.2.3.2 expecting something different but it looks like the changes to that release are not related to my problems.

So far I have no idea where to start looking for a fix to this, not sure if I will play with .htaccess first or if I’m going to make changes in php to put the recent entries on the home page or what. If you have run across this issue or if you have any ideas let me know.

The thing is that there is always something more to do and code will never be perfect enough.

Categories: English, Tecnologia, Webmaster

Posted by: Erick Muñiz on Wednesday, January 16, 2008