Redirect old URL to new site URL:
Code: Select all
Redirect 301 /oldgoogleurl https://newwebsite.com/newurl
Redirect wildcard URL to new site URL:
Code: Select all
RedirectMatch 301 ^/oldgoogleurl.*$ https://newwebsite.com/
Code: Select all
Redirect 301 /oldgoogleurl https://newwebsite.com/newurl
Code: Select all
RedirectMatch 301 ^/oldgoogleurl.*$ https://newwebsite.com/