: Have Google index site with certain get variables? How can I tell Google to index my site using different get variables? Example: www.example.com www.example.com?lg=en (prevent any index from this
How can I tell Google to index my site using different get variables?
Example:
example.com
example.com?lg=en (prevent any index from this link, by default my site is in english)
example.com?lg=sp example.com?lg=fr example.com?lg=jp
More posts by @Correia994
1 Comments
Sorted by latest first Latest Oldest Best
Given that these are translating into different languages and I'm assuming you want Google to surface the French site in French searches (and etc.), you may want to check out the hreflang tag (https://support.google.com/webmasters/answer/189077?hl=en). You would specify the language for each URL as well as the country code. For English, you'd specify the version of the URL with no query string. Something like:
<link rel="alternate" href="http://www.example.com?lg=sp" hreflang="es-us" />
<link rel="alternate"href="http://www.example.com" hreflang="en-us" />
There is also a cool hreflang generator at: www.aleydasolis.com/en/international-seo-tools/hreflang-tags-generator/
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.