Jump to content

missing hreflang


keat

Recommended Posts

Short answer: Use the template variable {$HTML_LANG} for the language being used for this session.

Long answer:

Having lightly scanned the intent and implementation of hreflang, I will say that a CubeCart installation does not fall within the parameters of how a site is annotated with, nor requires, hreflang.

From what I read, if your site has pages in a specific subfolder* for English, another set of pages in a separate subfolder for Spanish, a third set of pages in a subfolder for French, etc, then in each set of pages, common hreflang code should exist that point to the related page in all the other folders.

CubeCart does not operate that way. (* It could if there were a URL Rewrite pattern set up in .htaccess that parsed for the country code and rewrote the URL to add the querystring necessary to tell CubeCart what languge pack to switch on and use for that session.)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...