bdpf5/bdpf5.github.io/master/.htaccess - Htaccess File

bdpf5/bdpf5.github.io/master/.htaccess

# BEGIN WordPress
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteBase /
#RewriteRule ^index.php$ - [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
#</IfModule>

#EM CASO DE DAR ERROS - PÁGINA TEMPORÁRIA
# Redirect the all users to maintenance.html
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^109.51.42.178
RewriteCond %{REQUEST_URI} !^/maintenance.html$ [NC]
RewriteRule ^(.*)$ /maintenance [R=302,L]

# END WordPress

On Github License

Files

Download PDF of Htaccess file
REMOTE_ADDR, REQUEST_FILENAME, REQUEST_URI

Comments

Apache