• Resolved ebeighe

    (@ebeighe)


    I installed maintenance-switch plugin on two sites and it works great.

    Today, on one of my sites, but not the other, the site won’t go into maintenance mode. To be sure i was not logged in, i went to another computer and acessed the site. No maintence mode!

    However, i do see the .maintenance file is in the root of my site, as expected. (and toggling maintenance-switch removes or recreates it as expected.).

    I even went to the trouble of writing my own .maintenance file as described here
    https://sivel.net/2009/06/wordpress-maintenance-mode-without-a-plugin/
    With same result (no maintenance mode)

    So, this is not a problem with maintenance-switch, however I thought maybe you would know what might be the problem?

Viewing 1 replies (of 1 total)
  • Thread Starter ebeighe

    (@ebeighe)

    ok. i think i see what’s going on here…

    I have W3 Cache plugin turned on —
    much to my amazement, what seems to be happening is if there’s a valid page cached in w3tc, it gets served, even if in maintenance mode.
    If the page doesn’t happen to be in the cache, or if it’s expired, I do see the maintenance mode page.

Viewing 1 replies (of 1 total)
  • The topic ‘my site won’t go into maint mode?’ is closed to new replies.