Temporary 503 in HTAccess
Specify your IP, toss this at the top of your htaccess (comment when not needed), and it'll give visitors an SEO friendly 503 while you're temporarily working on a website.
Htaccess Snippet
ErrorDocument 503 "Our website is temporarily closed for scheduled maintenance."
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^xxx\.xxx\.xxx\.xxx$
RewriteRule .* - [R=503,L]
Written by haeck
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#