Recently updated both of these and this plugin no longer works.
Actually, what is weird is that the “Enable Splash Page Toggle” doesn’t stick when set.
I upgraded when my toggle was set to enabled Splash page, so my site is disabled. But I can no longer turn it off. If I disable the plugin my site works again.
Would be nice to have this plugin working again, it really was perfect, hence the reason it hasn’t been updated in 5+ years.
]]>Website url is:
https://www.coastalguitarworks.com
I installed the plugin recently to temporarily disable the home page while changing themes and doing other back-end maintenance. It worked very well for that purpose.
The problem is, now that all the maintenance is done and I DISABLED and DELETED the plugin from WP, the splash screen comes up on the home page!
I have had other people randomly load the home page on their own computers and devices. It still shows the splash screen on the home page. It is not localized to my devices or PC’s.
Pages off the home page can be accessed directly, and navigation around the site using site menus is fluid and robust everywhere EXCEPT when attempting to access the home page.
I have purged all caches in all browsers on all devices. Example: if I load the home page in Chrome I get the splash screen. After I clear page cache and reloads page (Ctrl-F5) I can then load the home page, but only one time. If I close the browser and open a new window and load the url — BAMM! It still calls up the old splash screen EVEN THOUGH THE PLUGIN HAS BEEN DELETED!
I have also “purged all caches” in WordPress using the W3 Cache plugin.
Am I going to have to rebuild an entire new site from scratch now because the ghost of the Disable Site plugin is haunting my current site’s home page? Please tell me you can help me fix this problem.
]]>I have installed the above plugin to temporarily disable our website and configured the settings from the screenshots and saved. I can still see the website however. Any suggestions?
]]>This is very basic, I know, but could someone post some sample custom HTML useful for the splash page? BTW, I did search first but didn’t find any. The one example here is just a png image as far as I can tell. Thanks very much for your help. This has been a very useful plugin for me. Thanks for making it available.
]]>No other plugins enabled, but site is still available.
]]>Hi,
I have the same issue at https://ds-recruitment.co.uk/ where I have configured the plugin but the site is still available to view.
Are there any known plugin clashes?
Thanks
]]>I enabled the plugin and then logged out to check to see if the splash page works. Which it does. When trying to log back in it won’t allow me to access the login panel.
How do I access my site to disable the plugin?
We have invested £££s in this website.
Ali
]]>So append some maybe stupid code, but works for me:
— ilmds.php 2014-12-29 22:32:46.000000000 +0100
+++ ilmds_allowed_request_string.php 2015-10-19 22:41:01.720724176 +0200
@@ -126,13 +126,16 @@
case ($is_login_page || $is_admin_ui): // Is login page or admin UI.
case ($is_user_admin && $this->is_admin_access_enabled()): // Admin user and access is enabled.
case ($is_user_logged_in && $this->is_authenticated_user_access_enabled()): // Logged in user and access is enabled.
– case (in_array($_SERVER[‘REMOTE_ADDR’], $this->get_allowed_ips())): // IP address is allowed.
+ case (in_array($_SERVER[‘REMOTE_ADDR’], $this->get_allowed_ips())) // IP address is allowed.
+ || (
+ (!empty($this->get_allowed_request_string()))
+ && (0 === strpos($_SERVER[‘REQUEST_URI’], $this->get_allowed_request_string()))
+ ): // special request uri allowed
$show_splash_page = false;
break;
}
if ($show_splash_page) {
–
// Replace the page HTML.
$buffer = $disable_site_plugin->get_output_html();
@@ -223,6 +226,11 @@
$this->settings[‘namespace’] . ‘_return_503’
);
+ register_setting(
+ $this->settings[‘namespace’] . ‘-settings-group’,
+ $this->settings[‘namespace’] . ‘_allowed_request_string’
+ );
+
}
/**
@@ -269,6 +277,7 @@
$custom_message_html = get_option($this->settings[‘namespace’] . ‘_custom_html’, ”);
$allowed_ips = get_option($this->settings[‘namespace’] . ‘_allowed_ips’, “# These are example IPs. Feel free to remove them.\n192.168.1.0\n192.168.2.0 # Example IP with a note to help you keep track. :)”);
$return_503 = get_option($this->settings[‘namespace’] . ‘_return_503’, ‘y’) != ‘n’;
+ $custom_request_string = get_option($this->settings[‘namespace’] . ‘_allowed_request_string’, ”);
echo ‘
<table class=”form-table”>
@@ -347,6 +356,15 @@
<span class=”help”>Whether or not the splash page should return a 503 (temporarily disabled) HTTP response. (Used by search engines. It is recommended that you only change this setting if you know what it does.)</span>
</td>
</tr>
+ <tr valign=”top”>
+ <th scope=”row”>
+ Custom Request String
+ </th>
+ <td>
+ <input type=”text” name=”‘ . $this->settings[‘namespace’] . ‘_allowed_request_string” value=”‘ . $custom_request_string . ‘” />
+ <span class=”help”>Type any custom string which in the request uri, i.e. /wp-json/</span>
+ </td>
+ </tr>
</table>
‘;
@@ -666,6 +684,11 @@
}
+ public function get_allowed_request_string()
+ {
+ return get_option($this->settings[‘namespace’] . ‘_allowed_request_string’);
+ }
+
/**
* Explode a value into an array of lines.
*
Hi, I would like to change the picture in the disabled splash page. There is an example shown in the plug in info but no instructions.
Thanks
I disable the delete the plugin, but the site is still disable, how could I do?
please help, I need to open my site.
]]>With this plugin active on EXAMPLE.COM
you can make up any URL like https://EXAMPLE.COM/RANDOM-PAGE
and it will load the contents of the Custom Output HTML field. (Assets will not be loaded unless they use absolute URLs.)
With the plugin active all URLs should be redirected to the base URL.
]]>OK, the plugin seems pretty legit with its 5 of 5 rating. I tried installing it and configured. But when I logged out and tried if it works, it locked me out of my site.
I cannot log back in to the site even thru these:
– https://mysite.com/wp-admin/
– https://mysite.com/wp-admin/admin.php?page=disable-site/ilmds.php
– https://mysite.com/wp-login/
I have admin access to yes, authenticated user access to no, and my IP on the IP list that suppose to skip the splash page.
I mean, wtf? How can retrieve the site and log back in?
Hi, when I activate the splash screen I get this error on the front end, in a browser where I am not logged in.
“Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
Please contact the website owners to inform them of this problem.”
Please advise.
Thanks.
Hi,
Good day to you. I facing a problem that my website content page still display splash page after disabled. Just the main page run normally.
This is my content page.
https://lotusformula.com/newsite/about/
May I know how to solve it?
Thanks.
]]>I’m confused…
Just installed the plugin, set to “Yes” enable splash image, no admin access, but I still can see the whole site. I have also changed 3 browsers, same result.
Fabio
]]>Hi,
Does this blog work with MultiSite enabled so I could for example disable specific blogs in a multisite but leave most enabled?
Thanks
Paul
]]>i working localy. i have enable the plugin but still can see it when browsing with https://localhost/mywpsite/.
Enable Splash Page = yes
Admin Access= no
what is wrong ?
]]>That way, search engines don’t index the site while disabled.
I added the following:
ilmds.php:126
status_header(503);
Hi
I already have disabled the plugin and when my users accessing the site, the splsh page keeps popping up on some links.
Have a suggestion on how to solve the problem?
thank you very much
]]>Hi
First let me say that it’s a very useful plugin. now i have finished the dev work. want to put the site back online. How should I do it?
Thanks wjz
I disabled the admin panel and now I cant log back in.. any ideas? Thank you for the plugin.
]]>my site use only json api. i want disable page but don’t know about this plugin disable json api plugin or not? if disable i want allow.
my site use json api with mobile client in android.
]]>