Skip to content

Instantly share code, notes, and snippets.

@glennyboy
Last active February 4, 2020 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glennyboy/a438f308ea245ca16d2dbd44e340b7fb to your computer and use it in GitHub Desktop.
Save glennyboy/a438f308ea245ca16d2dbd44e340b7fb to your computer and use it in GitHub Desktop.
301 Domain Redirect 1
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.*)$ https://newdomain.com/$1 [R=301,L]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment