Jump to content

Maintenance page - Redirect Loop


Recommended Posts

Hi,

 

I just updated my shop URL settings and moved my site into a root folder of a addon domain to go into production.

 

All seems to be working fine except when only in Maintenance (Enable Shop=No), I get browser error:

"This webpage has a redirect loop

ERR_TOO_MANY_REDIRECTS"

 

I have regenerated .htaccess, cleared browser and PS cache, turned off all caching, turned off friendly URLs.

 

I am using a third party theme. Maintenance page was fine before I moved folders.

 

I can get to BO fine and FO works fine if I add my IP to Maintenance. Its just that all others wont get Maintenance page but a redirect loop.

 

Spent a few hours trying to fix this one.

 

Any ideas?

 

PS. 1.6.1.1

Edited by ronny_g (see edit history)
Link to comment
Share on other sites

Just an update:

I found a work around, but it involves modifying core code which I didn't want to have to do.

 

I went to file classes/controller/FrontController.php

 

In protected function displayMaintenancePage()

I commented out //header('HTTP/1.1 503 temporarily overloaded');

 

Now my site goes straight to maintenance page as it should and does not get stuck in a redirect loop.

 

Any ideas why I needed to do this and what a better fix may be??

 

Thanks

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...