Welcome Guest, Not a member yet? Register   Sign In
Forbid the site's browsing to anyone but not to me
#3

[eluser]TheFuzzy0ne[/eluser]
Do you use an .htaccess file? Here's the code from mine I use for when I put the site into maintenance mode. Hopefully it will help you.

Code:
#RewriteEngine On
#RewriteCond %{REQUEST_URI} !^/maintenance_mode.php
#RewriteCond %{REMOTE_HOST} !^123\.45\.67\.89
#RewriteRule $ /maintenance_mode.php [NC,L]

Just use your own IP address, and make sure you have a file in your Web root called maintenance_mode.php (with a message to your users), then uncomment those lines.


Messages In This Thread
Forbid the site's browsing to anyone but not to me - by El Forum - 03-23-2013, 02:23 PM
Forbid the site's browsing to anyone but not to me - by El Forum - 03-23-2013, 03:05 PM
Forbid the site's browsing to anyone but not to me - by El Forum - 03-24-2013, 04:01 AM
Forbid the site's browsing to anyone but not to me - by El Forum - 03-24-2013, 06:13 AM
Forbid the site's browsing to anyone but not to me - by El Forum - 03-24-2013, 07:34 AM
Forbid the site's browsing to anyone but not to me - by El Forum - 03-24-2013, 04:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB