Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

WP3.1 upgrade produces redirect error - solution maybe!

Old Feb 24, 2011, 03:23 AM
16 posts · May 2010
Cambridge, UK

I'm running 3.6.4 and did the WP 3.1 upgrade on a shared Windows server. This produced an infinite redirect loop error when accessing the home page. It is suggested that the solution is to disable the canonical redirects which are the real culprit behind the redirect loop.

Solution 1.

Use this plugin:


I did and it worked.

Solution 2, maybe?

Add this to the theme function file:

remove_filter('template_redirect', 'redirect_canonical');
Old Feb 25, 2011, 07:28 AM
Knut Sparhell
34 posts · Jun 2010
Fredrikstad, Norway
I can confirm this problem. It will strike after upgrading to WP 3.1 if your server is running Microsoft Internet Information Serverices version 6 (IIS6), which ships with the operating system Windows Server 2003. It is not an issue with IIS7, which ships with Windows Server 2008.

Your admin area will be accessible through /wp-admin (to login), but your entire front end, as long as you are viewing front page, published posts/pages or archives, (draft previewing not included) will be severely affected. Your (visitors) browser will complain that the site is not redirecting properly, and will not show the page.

Solutions: Either install the plugin mentioned in the above post, or similar one containg the line
remove_filter('template_redirect', 'redirect_canonical');
This line should also work if inserted into functions.php of your theme (in the global scope, outside the actual functions).

Or, delay the upgrade to WP 3.1 until WP 3.1.1 is released.

The bug is (reported by me and) listed on WP Core Trac as being a critical bug to be fixed in 3.1.1. WordPress still supports IIS6 as web server platform, core developer/committer Nacin says.

Some users have complained that they cannot install the plugin, since they cannot log in. If you cannot log in using a direct URL to the admin area, then there are something else going on, too. The /wp-admin path should redirect you properly to the login page, if this canonical redirect bug is the only issue.
Old Feb 26, 2011, 10:33 AM
16 posts · May 2010
Cambridge, UK
Thanks for the confirmation. My shared host is indeed running IIS6. Curiously, in the past, I've experienced something when trying to change to using my root as the blog address, with WP in a subfolder. I'm now wondering if this is the same problem and may investigate that again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
FastCGI Error after upgrade from 3.4.9 to 3.6.4 knottinbotswana New Versions, & Updating 1 Feb 20, 2011 12:14 PM
Error after upgrade to 3.6.1 enri1968 New Versions, & Updating 8 Feb 7, 2011 05:18 AM
Attempting to upgrade from 3.4.9 to 3.6.1 - receive error smitp11 New Versions, & Updating 2 Jan 13, 2011 07:34 PM
Solution: upgrade and header a02112020317 Header configuration & styling 1 Aug 30, 2010 10:49 PM

All times are GMT -6. The time now is 03:12 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.