Answers for "htaccess redirect anything in directory"

1

.htaccess redirect

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_URI} !/maintenance.html$

RewriteRule $ /maintenance.html [R=302,L]
Posted by: Guest on August-11-2021

Browse Popular Code Answers by Language