Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteCond %{HTTP_HOST} ^oldsite.com [NC,OR]
- RewriteCond %{HTTP_HOST} ^www.oldsite.com [NC]
- RewriteRule ^(.*)$ https://newsite.com/$1 [L,R=301,NC]
- Redirect 301 /xxx/xxx.aspx https://newsite.com/
Add Comment
Please, Sign In to add comment