Have Google index site with certain get variables?

Have Google index site with certain get variables? - Google Search Console is a free application that allows you to identify, troubleshoot, and resolve any issues that Google may encounter as it crawls and attempts to index your website in search results. If you’re not the most technical person in the world, some of the errors you’re likely to encounter there may leave you scratching your head. We wanted to make it a bit easier, so we put together this handy set of tips about google, google-search, google-index, to guide you along the way. Read the discuss below, we share some tips to fix the issue about Have Google index site with certain get variables?.Problem :


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 link, by default my site is in english)



www.example.com?lg=sp

www.example.com?lg=fr

www.example.com?lg=jp

Solution :

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:
http://www.aleydasolis.com/en/international-seo-tools/hreflang-tags-generator/


If the issue about google, google-search, google-index, is resolved, there’s a good chance that your content will get indexed and you’ll start to show up in Google search results. This means a greater chance to drive organic search traffic to your site.

Comments

Popular posts from this blog

Years after news site changed name, Google is appending the old name to search titles and news stories

Is it possible to outrank Google for a search term on their own search engine?

Load Wikipedia sourced biographies via Ajax or render it with the rest of the page as part of the initial request?