Hi. Thanks for this plugin, exactly what I need.
I have a staging site set up for client approval, not linked here as it’s not yet approved. Built with GeneratePress, everything fully up to date.
It’s a one page site (plus a privacy policy page) so all the menu links aside from the privacy policy are on-page (#). The access key allows the page to load but clicking any of the # links (which all have the full URL plus the # for a given section), despite them all being sections on the same page, brings me to the maintenance message.
The privacy policy page loads as expected but then I can’t get back to the home page, just the maintenance message again.
Is this expected behaviour? Any workaround or settings change to accomplish what I’m needing?
It’s not the end of the world as the page can be manually scrolled to review the content but it would be good if the client could use the menu and see how that works. I realise I can whitelist their IP if needed, I’m just confused as I thought the access key sets a cookie which should then enable the non-logged in user to see any part of the site?
TIA
Hi helderk, thanks for this nice plugin. One question: I was wondering that I’m able to access the folder “/wp-content/uploads/” and open all the uploaded files in maintenance mode. Sure, you need to know the file names. But is there a possibility to prevent access to the upload folder completely?
Thank you for your help!
Best regards
Hi there. Great lightweight plugin but is there any way to whitelist pages using a regex like mysite.com/cars/* to capture a whole group of URLs?
Thanks
]]>Great plugin – the best maintenance mode one I’ve found. Just a heads up that the default message renders the H1 tags.
]]>Hi there! Thank you for this awesome, lightweight plugin! Unfortunately, a doctype entered to HTML gets filtered out, leading to browsers going to quirks mode. Same for an “onclick” Javascript trigger on an A tag. Can you please remove this filter, so <!DOCTYPE html> and Javascript can be used?
]]>Hi, very quick question. As per the title, I am running WordPress 6.4.3 (latest at the time of writing) but with your plugin active I then log out and try viewing my site to find the homepage instead of the Main message..
Tried from a different device disconnected from my home network and in an in-private session of Edge but both are showing the site.
I’ve also cleared the cache but no change…
I have made a number of changes via my sites functions.php to disable various things such as rss feeds and emojis but nothing that should affect the use of this plugin.
For context, if I disable the plugin and manually add the following to my functions.php it works as expected.
// Maintenance Mode
add_action('get_header', function() {
if(!current_user_can('manage_options')){
wp_die('<h1>Under Maintenance</h1><br />Website under planned maintenance. Please check back later.', 'Under Maintenance', array('response' => '503'));
}
});
]]>
Hi,
thanks for your plugin!
I have a little problem, the “Unlimited IP addresses” mode doesn’t work for me if I use my fiber network.
While if I enter my phone’s IP it works perfectly.
Inside the plugin I don’t see my IP, but it shows my IPV6.
So I retrieved my IP by typing “My IP” into Google.
But if I enter this it doesn’t work.
Do you have any solution for this?
Thank you
Hi!
I have used the plugin for the past 2 months and recently I started noticing that sometimes when I accessed my website the maintenance page was not shown, going directly to the website’s front page. When I clicked in the menu to access another page the maintenance page was shown again. This happens sometimes and in some PCs, didn’t notice any standard. For example, if I open a new anonymous window (using Chrome) and try to access the website sometimes it works and sometimes it doesn’t.
I am using WordPress 6.3.2 now. I’m not sure if it started happening after the update or not.
Did you ever seen something like this?
]]>The following pair of errors recurs in Apache’s error log:
[Thu Jul 20 20:59:16.810251 2023] [:error] [pid 60465:tid 34385704192] [client 114.119.142.69:0] PHP Error: WordPress database error Table 'wpdb.wp_3_hkdev_mm_unrestricted_ips' doesn't exist for query select ip_address from wp_3_hkdev_mm_unrestricted_ips where active = 1 made by require('wp-blog-header.php'), wp, WP->main, WP->send_headers, do_action_ref_array('send_headers'), WP_Hook->do_action, WP_Hook->apply_filters, hkdev_maintenance_mode->process_redirect, referer: https://example.com/2017/12/07/untitled?share=email
[Thu Jul 20 20:59:16.810761 2023] [:error] [pid 60465:tid 34385704192] [client 114.119.142.69:0] PHP Error: WordPress database error Table 'wpdb.wp_3_hkdev_mm_access_keys' doesn't exist for query select access_key from wp_3_hkdev_mm_access_keys where active = 1 made by require('wp-blog-header.php'), wp, WP->main, WP->send_headers, do_action_ref_array('send_headers'), WP_Hook->do_action, WP_Hook->apply_filters, hkdev_maintenance_mode->process_redirect, referer: https://example.com/2017/12/07/untitled?share=email
Looks like they’re appearing because I haven’t set any Unrestricted IPs or Access Keys. If so, they are not really errors, yes?
]]>Hi,
I have used this plugin for a while and I really liked it. It’s simple yet so effective! But now I encountered a strange problem. When it’s activated and Advanced Custom Fields is also activated I cannot edit the fields in a field group anymore. Don’t know the reason.
Thank you for your help!
Best regards
Tobias
]]>I have put some HTML in but the <!DOCTYPE HTML> elements are taken out and replaced with just <html> which puts it in quirks mode, breaking some basic custom HTML/CSS layouts that I am using. Is it possible to just use the current standard HTML header?
]]>