What I meant, was in files:
- /template_default/common/html_header.php
- and/or
- /##########_temp/common/html_header.php (for some reason the name is automatic wiped out)
So, in /template_default/common/html_header.php the original is:
PHP Code:
// BOF hreflang for multilingual sites
if (!isset($lng) || (isset($lng) && !is_object($lng))) {
$lng = new language;
}
if (sizeof($lng->catalog_languages) > 1) {
foreach($lng->catalog_languages as $key=>$value) {
echo '<link rel="alternate" href="' . ($this_is_home_page ? zen_href_link(FILENAME_DEFAULT, 'language=' . $key, $request_type, false) : $canonicalLink . (strpos($canonicalLink, '?') ? '&' : '?') . 'language=' . $key) . '" hreflang="' . $key . '" />' . "\n";
}
}
// EOF hreflang for multilingual sites
Why yours isn't,
But that's not really important now because you use the ########## template.
What is important
IF it has a simular code (and I think it doesn't) in /##########_temp/common/html_header.php, because that's the file your site uses!
Can you get that file zip-ed and send as an attachment in your next post?
I just looked at my own site and the hreflang is within the first 20 lines of the page source.
The architecture of ZenCart will write it as URL&language=XX
which does appear in your site URL
Just nothing on page-source.
My guess is that blocking made unwanted visitors turn their aim to other sites. Did you see a drop in real buyers?
Do you know that "Email Us At:" has a generic mailto reference?
Bookmarks