Last Updated: November 05, 2017
· haeck
Haeck design logo raleigh nc

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]
Say Thanks