Melbourne's award-winning digital, web & SEO agency
Intesols Blog

rel=”alternate” and rel=”canonical” tags for desktop to mobile pages not working?

intesolsdev ·
rel=”alternate” and rel=”canonical” tags for desktop to mobile pages not working?

Rel=”alternate” and rel=”canonical” are the most used and probably the most confused REL Attributes.What are REL Attributes?

A rel attribute specifies the relationship between the current document and the linked document and can only be used if the href attribute is present. In addition, they are of no use to a web browser and only relevant for the search engines.

What is rel=”canonical” tag?

rel=”canonical” tag is a way to let Google know that the content of a URL is duplicate or near duplicate of another. For example, If URL x is a duplicate of URL y, then the tag will point to URL y and will appear in the HTML code(between <head> tag) of URL x:

<link href=””http://www.mysite.com/urly.html”” rel=””canonical”” />

Most search engines including Bing, Google and Yahoo support rel=”canonical”. The canonical tag is used widely for most of the duplicate content including redirecting a desktop site in case of a mobile device.

What is rel=”alternate” tag?

rel=”alternate” tag is again useful for duplicate content, however, in a little different scenario:

  • template (i.e. side navigation, footer) is machine-translated into various languages, main content remains unchanged, creating largely duplicate pages.
  • main content remains unchanged, creating largely duplicate pages,

Suppose, the website mysite.com has international reach and multilingual users. A user Fabio Guevara, a German speaker, makes a profile on the website and is allocated a dedicated page ge.mysite.com/Fabio.g. The page, being a part of a multilingual website, will soon become available in other languages too, in addition to German.

Every version of the page will display a different URL.

Thus, we require to use rel=”alternate” tag, pointing to the original page for every language variant.

In addition to language purposes, this tag can also be used on RSS, PDF, or any other media using the page content.

For the above example, suppose the English version of the page is en.mysite.com/Fabio.g. Then the code will point to the German version and will be appear in the HTML <head> tag of the English page.

The Code

<link rel=”alternate” hreflang=”en” href=”http://ge.mysite.com/Fabio.g” />
Similarly, for the PDF version of the original page, following code can be applied.
Link: < http://ge.mysite.com/Fabio.g />; rel=”alternate”; hreflang=”en”>

What is the confusion?

Actually there are no confusions. The canonical tag and the alternate tag are supposed to be combed together as per Google Webmaster Blog:

“When rel=”alternate” hreflang=”x” is included in conjunction with rel=”canonical” or 301s, not only will our indexing and linking properties be more accurate, but we can better serve users the URL of their preferred language.”

If a user is surfing the page from the UK, the English version of the page should pop on his browser. How can he be redirected to the English version without the rel=”canonical” tag? Thus, without rel=canonical, rel=“alternate” is irrelevant.

As the German version of the page (ge.mysite.com/Fabio.g) is default profile for Mr. Fabio Guevara, the English variant has to put <link rel=”canonical” href=”http://ge.example.com/ Fabio.g” />

So does the every other language variant.

rel=”alternate” and rel=”canonical” tags for desktop to mobile pages not working?
Google Reviews

Rated Excellent

Posted on Google Google
Nick profile picture
Nick
Google star 1Google star 2Google star 3Google star 4Google star 5
Total waste of time and money. They make you spend thousands and even overspend the budget allocated but with minimum results. Had been with intesols for a year and the could not deliever what was promissed after spending over $5500/months average of dollors every month. Would not recomend at all.STAY AWAY STAY AWAY
Posted on Google Google
Elvir Malic profile picture
Elvir Malic
Google star 1Google star 2Google star 3Google star 4Google star 5
Rahul and the team did a fantastic job designing our new website. They listened to our feedback and took the time to get the details right. Rohit is looking after our SEO and has been great to work with. We’re really happy with the experience and would highly recommend the team.
Posted on Google Google
L Cheng profile picture
L Cheng
Google star 1Google star 2Google star 3Google star 4Google star 5
Intesols has been helping with my website and online presence for years. They have played an important part in growing my business.
Posted on Google Google
Joe profile picture
Joe
Google star 1Google star 2Google star 3Google star 4Google star 5
Very hard working team , they set up my store website and I am still working with them , very happy with the results.
Posted on Google Google
C Manio profile picture
C Manio
Google star 1Google star 2Google star 3Google star 4Google star 5
Intesols has delivered a high quality website for our organisation which has been a significant improvement on our existing website, in terms of basic functionality, clarity, user experience and ease in navigation. Rahul and Vikas has been an absolute pleasure to work with - always responsive to changes and feedback and providing changes in a timely manner. Their ability to deliver at both the front end - user experience as well as the technical backend means we will continue to utilise their services when it comes to web creation, design and hosting.
Posted on Google Google
Jinal Doshi profile picture
Jinal Doshi
Google star 1Google star 2Google star 3Google star 4Google star 5
We’ve had a great experience working with Intesols. A big thank you to Bharat, Rahul, Jatin and the entire team for their excellent work on our website and SEO. From the beginning, their communication, support and attention to our needs have been fantastic. They are always responsive, helpful and easy to work with. Highly recommend Intesols, and we look forward to continuing this relationship for many years to come. Thank you to the whole team!
Posted on Google Google
Donald Furber profile picture
Donald Furber
Google star 1Google star 2Google star 3Google star 4Google star 5
I have partnered with the intesols team for many years now over a number of different projects. They have been always been very professional in their approach, getting a thorough understanding of our needs as well as offering invaluable insights in areas where we needed guidance. I would highly recommend the Intesols team for your project needs.
Posted on Google Google
Clique Floors profile picture
Clique Floors
Google star 1Google star 2Google star 3Google star 4Google star 5
**★★★★★** Rahul and the Intesols team built an amazing website for Clique Floors. It looks very professional and is easy for our customers to use, so they can browse our range and get in touch without any hassle. Rahul was responsive and understood exactly what we needed. I'd highly recommend Intesols to any business wanting a quality website. Thanks, Rahul! *Dids, Clique Floors*
Posted on Google Google
Navah Ovalle profile picture
Navah Ovalle
Google star 1Google star 2Google star 3Google star 4Google star 5
The team at Intesols were very professional. They kept me up to date on the progress of my website and were always happy to answer any questions.
Posted on Google Google
Iona Walker profile picture
Iona Walker
Google star 1Google star 2Google star 3Google star 4Google star 5
Huge thanks to Intesols, lovely team and great work from Sagar, Shubanghi, Anshul, Jaydip on web design and SEO. Super hardworking and great results. Thank you ! :)
★★★★★

Rahul and the team did a fantastic job designing our new website. They listened to our feedback and took the time to get the details right. Rohit is looking after our SEO and has been great to work with. We’re really happy with the experience and would highly recommend the team.

Elvir Malic
Google
★

Total waste of time and money. They make you spend thousands and even overspend the budget allocated but with minimum results. Had been with intesols for a year and the could not deliever what was promissed after spending over $5500/months average of dollors every month. Would not recomend at all.STAY AWAY STAY AWAY

Nick
Google
★★★★★

Intesols has been helping with my website and online presence for years. They have played an important part in growing my business.

L Cheng
Google
Get In Touch

Let's build something that grows your business

Tell us about your project. We'll reply within one business day — no jargon, no obligation.

900+ Trusted Clients
Multi-Award Winning
280+ 5-Star Google Reviews
Unique Performance System
125+ Team of Professionals
After Hours Support
15+ Years Industry Expertise
ISO Certified (Cyber Security)
Tell us about your project

    We respect your privacy. No spam, ever.