Are You An Options Trader?

Learn how to

  • Reduce Risk

  • Create Monthly Income from Option Trading

  • Get Access to Free webinars and training

  • Just enter your information below and click "Get Updates!"

Get Tom's updates and a free account at Capital Discussions.

February 25, 2011

WordPress 3.1 Update: Could Not Open the Page, Too Many Redirects

<a href="http://www.wordpress official”>WordPress had a shiny new 3.1 update I found out about today. The features looked pretty interesting so I decided to install it on the sites I host on my windows 2008 server. I downloaded the files and ran the upgrade.php to install the update. On most of the sites, I had no problems. One I’m in the middle of setting up was giving me the “Could Not Open the Page, Too Many Redirects” error. What is going on?

CirclesI’m working with my graphics guy and wondered if he made some changes to that site. That was the only web site with the problem. He was also supposed to be working on a widget but he said he was just uploading some images at the time. That wasn’t it. What else could it be?

I use the web.config file within IIS to do this type of redirect. Anything not format will be redirected there. As soon as I took that code out of the web.config, the site started loading. But not the way it was supposed to load.

Something was redirecting it back to even if I had loaded. That seems to be causing the loop. Something was fighting with IIS! Since I had just upgraded wordpress, guess where I started looking?

Google to the rescue

I found a handy post talking about this very issue here:

Others were having the same problem. One poster, Jarnez, posted a solution that seemed to fit with what I was experiencing:

I just installed this plugin:

And it seems to have fixed my issue. I can bring up all the site pages now.

That seemed like my solution too. Disabling the canonical redirects in WordPress made sense with my theory. I also installed the plugin.

The site continued to load fine.

I put back the code in my web.config to redirect to and VOILA! The site was working again.

So it looks like something funky is going on with WordPress 3.1 and canonical redirects on windows servers. I installed this on five sites and only one had this problem. Hopefully if you have a similar problem, this is a possible solution for you.

Join our Free Option Trading Community

Tom Nunamaker

Click Here to Leave a Comment Below

Aaron - March 27, 2011 Reply

I just upgraded to WP 3.1 on a Windows Server with IIS 6 and had the same problem. The plugin helped me to get the site working again for the moment.

Could you post the code that you have in your web.config file?

Greetings from Switzerland

Carla - February 2, 2013 Reply

After a half of a day reading several blog/forum posts about this subject I recalled someone stating that the too many redirects effects the code in the htaccess file of your root directory. I had a recent back of my blog and just uploaded it to overwrite the current file, and voila! – it was fixed! I have a complete write up about how to go about doing this for those who do not know where to find the file, or what tools to use to do so at (It’s just my personal diary that I seldom write it, but I hope it helps someone.)

I wouldn’t want anyone to go through what I just did! I assume other people are scouring the Internet to find the answer as well. So, I’m going back to all of the posts I read and posting this. Good luck!

Leave a Reply: