Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Redirect all domain to new and keep url path
<IfModule mod_rewrite.c>
RewriteEngine On
redirectMatch 301 ^(.*)$$1
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.