What to do with the main domain if it serves only to redirect?

In General, the subject. What are the rules for robots to register, so it does not interfere with the subdomains? The main domain is used only to determine the user's language and redirect to the appropriate subdomain: en.site, EN.site, etc . For each subdomain in your sitemap etc.
March 12th 20 at 07:59
2 answers
March 12th 20 at 08:01
Do the redirect via JS on client side.
Robot - display the page in English without a redirect on that domain.
The canonical tag - specify a subdomain for the English. language.
And as already said @Claudia58 :
Specify head meta robots "noindex, follow".
Google also said that now the meta robots "noindex, follow" equal to "noindex, nofollow" - oral_Corwin commented on March 12th 20 at 08:04
@oral_Corwinin this situation is do not care, the main thing - noindex do not forget! - Abdul.Feil commented on March 12th 20 at 08:07
March 12th 20 at 08:03
Specify head meta robots "noindex, follow".
And on subdomains in the Directive hreflang sure to specify the main domain as the page language selection.
I don't know what kind of head is it, if a 301 redirect?! the hreflang attribute is optional, I have a unique sitemap for each and not all of the content is a language version that it is often unique and has no foreign counterparts. - Daren42 commented on March 12th 20 at 08:06
@Daren42, not all browsers send a header with the language. For these it is useful to display the language selection page.
In General read https://support.google.com/webmasters/answer/18907... - Alyson.Konopelski11 commented on March 12th 20 at 08:09

Find more questions by tags Search engine optimization