Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

.htaccess redirect

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

RewriteRule $ /maintenance.html [R=302,L]
Source by mediatemple.net #
 
PREVIOUS NEXT
Tagged: #redirect
ADD COMMENT
Topic
Name
2+6 =