
wordpress firefox redirect loop
As I mentioned in my previous post about installing wordpress, the installation itself was effortless. But, when I pointed my browser to http://www.yogatailor.com/WorkLifeYogaBlog and expected to see the all too familiar WordPress’s “hello world” screen, I was shocked. Firefox came back with a rather ominous error – “Firefox has detected that the server is redirecting the request for this address in a way that will never complete”
As any geek worth his NaCl would do, I googled the sucker. I got a some great pointers. One of them is wp-member’s blog about the same error. This was a good pointer but did not solve the problem for me. This blog mentioned that some times, plugins mess up redirects and that could cause this problem. But, this is obviously not the problem on my blog. Number of plugins that I have = zero
Mind you, I have other blogs here. For example, the yogatailor blog is hosted at the same place. After a little bit of digging around and doing my morning yoga session, the answer dawned on to me. I tell you, yoga rocks, man..
What Was Happening
Here’s what had happened. A few weeks ago, we had started doing SEO/SEM on our website. I will blog about this on separate posts but, lets not get ADDed. One of the most common advices that seems to be floating around the reliable internet is that google is stupid and actually thinks yogatailor.com and www.yogatailor.com are two different entities. Now, the guys at google make much more money than most of us, but, once an SEM expert tells you something, it gets you thinking. So, our over-zealous web-master put in a “302 redirect” from yogatailor.com to www.yogatailor.com . The concept is self-explanatory , enough said.
So, when wordpress got installed, it was installed as yogatailor.com/WorkLifeYogaBlog … But, the re-direct would move this to www.yogatailor.com/WorkLifeYogaBlog. The WordPress software itself thinks its installed at yogatailor.com. So it starts reading stuff at yogatailor.com/WorkLifeYogaBlog. This causes an .. ahem.. infinite loop
The Solution
The easiest solution is to log in as admin on wordpress and change the URLs to the Blog in the Settings to the correct ones. But, since you cannot even log in, this will not work.
Before you go any further, see if you have any re-directs on your website. On GoDaddy.com, you can check this on the Hosting Control Panel (or just call them, who knows, Danica might answer). If you have re-directs in place, that could be the culprit. Disable the re-directs temporarily.
Now, go to the admin page of your wordpress blog. If you are still not able to go there, the problem could very well be an erratic plugin. If you are able to log in, your re-direction was the problem. Go into Settings and change the URLs. For example, in my case, I just prefixed www. to yogatailor.com.
Now go back and add the re-direct back
Check your blog. All should be good. If it isn’t, email me or comment here.