I am looking for the cleanest/SEO friendly way to redirect a subdomain (i.e.
shop.example.com) to a sub-directory on the main domain (i.e.
shop.subdomain site is currently hosted. The contents of
shop.will be transferred to the main domain which sits on a separate hosting platform.
Any advice much appreciated.
In GSC, add the shop subdomain as a profile and make sure there is a profile for the main domain too. Give the new profile(s) a day or two to get situated.
If you haven't already, pick either www or non-www for your main site and make sure the URLs with the one redirect to the URLs of the other. Here's how to do with Apache for instance: https://www.siteground.com/kb/how_to_redirect_www_urls_to_nonwww/ . Also, here's an explanation for why choosing one is important: https://www.spyfu.com/blog/www-vs-non-www/
Design the redirect mapping (https://support.google.com/webmasters/answer/6033086) and then set up the 301 redirects from the shop subdomain to their new counterpart pages on the main domain. Here's a guide about Shopify redirects: https://help.shopify.com/en/manual/online-store/legacy/menus-and-links/url-redirect .
Once the 301s are done, then do a change of address from the subdomain profile to the main domain profile via search.google.com/search-console/settings/change-address .
The 301's will help redirect referral traffic immediately and the change of address in GSC will help Google understand that the shop domain is no more (along with all of the redirects too) and update domain and entity-related data involved with your existing rankings. I think that's everything since you're set with SSLs and whatnot.
Answered by I Capulet on November 7, 2021
1 Asked on December 4, 2020 by webman
1 Asked on December 4, 2020 by tash
2 Asked on October 27, 2020 by tamirnahum
1 Asked on October 25, 2020 by mohamed-el-qassas-mvp
0 Asked on October 23, 2020
1 Asked on September 26, 2020 by maurice
2 Asked on September 19, 2020 by 1up
1 Asked on August 10, 2020 by umang-naik
0 Asked on July 29, 2020 by porton
Get help from others!