Language META tags at Page Level

  • 1
  • Question
  • Updated 7 years ago
  • Answered
Hi,

I have a site of a dozen pages, 6 pages in Spanish and 6 in English and in terms of the UI everything is fine. However, when setting the language of the pages for SEO I cannot use the following as only one language code is permitted, the second is ignored I believe:

I have tried this and the Spanish pages are doing very well in Google Search, but the not the English pages. Is there a way that I can add the just the Spanish META tag to the Spanish pages and the English one to the English pages? I can't see a way of doing this at page level, so are there any workarounds? Or perhaps it's better if I just leave out the META tag altogether and let Google figure out the language?

This is such a basic requirement that I can't believe that it's not in the Page Properties under the title, description and keywords, just a setting asking to set the page language.

Thanks.
Luis.
Photo of indysandhu10

indysandhu10

  • 3 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of indysandhu10

indysandhu10

  • 3 Posts
  • 0 Reply Likes
The META tag is getting removed from my posts, but the basic format is this (without the start/end signs):

......meta http-equiv="Content-Language" content="es,en"........
Photo of diane

diane

  • 1238 Posts
  • 121 Reply Likes
Hi, indysandhu,

You should be able to use more than one like this:


<meta http-equiv="content-language" content="es, en">


You could try putting this in an HTML Widget on each page. Or if you have Silver, you can use the header code area.

To get to this section, click on Site > Site Properties > Tracking > Site Tracking Code. The "Header Code Ex: Metadata Tags" field is on the right-hand side. Paste the code in that field and then click on "All Settings" in the top left corner to commit the change and return to the Site Settings menu.

Please note that that any code you add to your site is added at your own risk. Please try it on a test site first.
Photo of indysandhu10

indysandhu10

  • 3 Posts
  • 0 Reply Likes
Hi Diane,

Sorry for the late reply, but I was monitoring how the changes went. In the end I decided to remove the lang tags altogether and the results are now much better in both languages, as opposed to just in Spanish as before. Apparently, the Google bots can work out the language for themselves these days so no need to add many META tags at all, other than title and description.

Thanks again.
Indy
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hi Indy,

We're happy to hear that your results have improved! Thanks for letting us know :)