Jump to content

alternate" hreflang tags on header.tpl


Recommended Posts

<link rel="alternate" hreflang="en" href="http://www.goodpsychologists.com/en/" />

 <link rel="alternate" hreflang="es" href="http://www.goodpsychologists.com/es/" />

 

 

I pasted the above code in the header.tpl file (themes-default theme bootstrap) but google webmasters tool did not recognize them on the last crawl...

 

Does anybody know if I did anything wrong to comply with them on this issue so that google knows I have 2 language versions of my site?

 

Thank you

Link to comment
Share on other sites

I just modified to: 

               <link rel="alternate" hreflang="en" href="http://www.goodpsychologists.com/en/" />
                <link rel="alternate" hreflang="es" href="http://www.goodpsychologists.com/es/" />
                <link rel="canonical" href="http://www.goodpsychologists.com" />
 
To the header.tpl file in themes/defaultbootstrap
 
Could this correct te mistake...?
Link to comment
Share on other sites

  • 1 year later...

 

I just modified to: 

               <link rel="alternate" hreflang="en" href="http://www.goodpsychologists.com/en/" />
                <link rel="alternate" hreflang="es" href="http://www.goodpsychologists.com/es/" />
                <link rel="canonical" href="http://www.goodpsychologists.com" />
 
To the header.tpl file in themes/defaultbootstrap
 
Could this correct te mistake...?

 

Hi

 

I would also like to know the answer to this question....Thanks

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...