Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #960552

    I created a maintenance page and switched on the maintenance mode in Enfold settings, but when I go to my website, I get an error saying “too many redirects” and the maintenance page is not loaded.

    On my maintenance page I only have my logo and some text.

    Any ideas?

    Mark

    #960611

    Hey Multispace,
    Can you please include a admin login in the private content area so we can take a closer look.

    Best regards,
    Mike

    #960744

    The domainname is not transferred yet to the current site, so I can see it only locally. But I found that an older version of the website on another server has the same problem, so I can give you access to that website. I’ve enabled Temporary Logins. Which e-mail address can I insert there from you?

    Mark

    #961277

    I used the e-mail address (Email address hidden if logged out) as I was told to use that before. The login link is in the private content.
    I’ve turned on maintenance mode and set some random page as a destination for it. You will notice the error after a while when loading a page on the website (“too many redirects”).

    I have the same problem on a different server.

    Mark

    #961432

    I’ve tried the maintenance feature on a third Enfold website on again another server and also the same redirect problem. Is there anyone who got this working?

    For now I will have to check another maintenance plug-in.

    Mark

    #961585

    Hi Multispace,

    You should be running at least php5.6.3 for the code to work properly. Please consider upgrading your php version.

    Best regards,
    Victoria

    #961722

    Hi Victoria,

    The other 2 sites have at least php7 installed on their servers and the maintenance mode doesn’t redirect properly there as well.

    Mark

    #961746

    Victoria, I’ve updated the website that you’ve looked into to php7 as well and still the redirect problem remains.

    Mark

    #962182

    Hi Mark,

    I got a 404 on the login link.

    Can you show us what is in your .htaccess?

    Best regards,
    Victoria

    #962249

    Hi Victoria, the staging website has been transferred to the live website now, that’s why you got a 404.
    See below for contents of .htaccess file.

    Mark

    #962264

    By the way, I’m using the plug-in Coming Soon Page & Maintenance Mode now, which works :-)

    Mark

    #962583

    Hi,
    I have tested the maintenance mode of Enfold on a clean install and it works correctly with the default .htaccess rules put in place by WordPress, which resemble the .htaccess rules you posted.
    I couldn’t login to your site to see if you had any errors in your console, but perhaps this article will help: The too many redirects issue: How to fix it

    Best regards,
    Mike

    #962591

    Thanks Mike,
    I don’t know what it is then. Strange that I have the problem on 3 different sites on 3 different servers.

    My own site has some other weird thing going on. Since yesterday evening I can’t access my website (Service unavailable, 503 error), also not via wp-admin. Tried everything, but no luck. Guess I have to wait for my webhoster to assist me on Monday.

    Mark

    #962596

    Hi,
    Have you tried deactivating the theme via ftp?
    This is done by renaming the enfold folder, such as, “enfold-old” and as long as you have a core WP theme installed, such as twentyseventeen, WP will load that theme so you can login. Sometimes this takes a few tries as WP works out the error of the missing theme.

    Best regards,
    Mike

    #962597

    Thanks, yes, I’ve tried that. Actually deleted the Enfold themes (made a backup) and have twentyfifteen as only theme left, but no change. Also moved all plug-ins: no change. Maybe something to do with the migration of my website. But it did work until yesterday evening. Even restored a backup from a few days ago and still nothing.

    Maybe some serversetting that got changed suddenly.

    Mark

    #962605

    Hi,
    Definitely sounds like the server, if it was Enfold, removing it would have solved it.
    We will keep this open to hear back from you when your site is back up.

    Best regards,
    Mike

    #963103

    Finally my website is up again. De webhoster told me that the rapid fail protection went into effect and shut down this application pool. He doesn’t know why this happened. Could be a memory leak in the website code that triggered many application pool recycles in a short period of time.

    Anyway, even when the website was up, strange things continue to happen. Pages could not be found (internal server error), so the technician went into my WP admin and found that my .htaccess was causing the problems. Although the code is normal in my .htaccess, as I posted earlier, once he deactivated .htaccess, everything worked again.

    Including…. the maintenance mode page which was the reason I started this topic in the first place.

    So some weird stuff went on with .htaccess, but it seems to be solved now.

    Finally!
    Thanks for helping out, this topic can be closed.

    Mark

    #963428

    Hi,
    Thank you for sharing your solution, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Maintenance mode page not loading’ is closed to new replies.