Skip to content

Instantly share code, notes, and snippets.

@glennyboy glennyboy/301 Domain Redirect Secret
Last active Feb 4, 2020

Embed
What would you like to do?
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
You can’t perform that action at this time.