Skip to content

Instantly share code, notes, and snippets.

@EdoardoVignati
Created May 5, 2019 12:43
Show Gist options
  • Select an option

  • Save EdoardoVignati/691a6d3a86859ee366baff4c4bc2cc22 to your computer and use it in GitHub Desktop.

Select an option

Save EdoardoVignati/691a6d3a86859ee366baff4c4bc2cc22 to your computer and use it in GitHub Desktop.
Put offline website with redirect to page
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_URI} !/offline.html$
RewriteRule $ /offline.html [R=302,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment