How To: Redirect Google URL to new Website URL (301 Redirect + Wildcard Links)
Posted: Sat Jan 23, 2021 4:00 pm
In your .htaccess file, add the following code for each redirect you want to create per wildcard URL or individual URL.
Redirect old URL to new site URL:
Redirect wildcard URL to new site URL:
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/