Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- RewriteCond %{HTTP_HOST} ^domain.com$ [OR]
- RewriteCond %{HTTP_HOST} ^www.domain.com$ [OR]
- RewriteCond %{HTTPS_HOST} ^domain.com$ [OR]
- RewriteCond %{HTTPS_HOST} ^www.domain.com$ [OR]
- RewriteRule (.*)$ http://www.domain.com.mx/$1 [R=301,L]
- RewriteEngine on
- RewriteRule ^(.*)$ https://www.domain.com.mx/$1 [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement