Jump to content

Prestashop SEO for multilanguage website {Important!}


Recommended Posts

Hello

 

would like to add the contents language in html for SEO purposes..Can you please give some detail of how and where to add this..This is what i get from SEOquake program:

 

You have specified your website's language, but only in META Language Tag. The 'lang' attribute has a higher precedence.

Here are some suggestions for multilingual sites:

  • You should declare the contents language in the HTML code of each page.
  • You should also declare the language code in the URL (for example: company.com/es/contact.html).

 

Thank you in advance

Link to comment
Share on other sites

You can edit your header.tpl and check if you have the lang attribute in the html tag :

 

<html lang="{$lang_iso}">

I have found this in the header.tpl

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 lt-ie6 " lang="en"> <![endif]-->

<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8 ie7" lang="en"> <![endif]-->

<!--[if IE 8]> <html class="no-js lt-ie9 ie8" lang="en"> <![endif]-->

<!--[if gt IE 8]> <html lang="fr" class="no-js ie9" lang="en"> <![endif]-->

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">

 

Is this ok? How about the other languages? Does prestashop do it automatically?

Link to comment
Share on other sites

×
×
  • Create New...