International Href Lang Tag Parameter Issue
-
Hey, let's say I'm on the following page..
site.com/product-name/product-code/?d=womens
I view the page source and it looks like this..
My question is, should I remove the parameter for the hreflang tag????
I just need some clarification that NO parameter page should have a canonical tag and / or href lang with parameters..
-
Hreflang tags should point to the canonical version of the page. So yes, please remove the ?d=Womens from all your Hreflang URLs.
Here are the results of a test run on this URL to check for Hreflang errors:
https://app.hreflang.org/results.php?runid=f622e3d03dbf4a03958c6a6d2d180bd020160719202039
You will see that all errors are because of the ?d=Womens in the URLs.
-
No, they should not stay.
Canonicals and hreflang should point to the same page.Like this:
<link rel="alternate" hreflang="en-us" href="<a href="http://www.revolve.com/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" rel="nofollow" target="_blank">http://www.revolve.com/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/" />
<link rel="alternate" hreflang="fr-fr"href="<a href="http://www.revolveclothing.fr/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" rel="nofollow" target="_blank">http://www.revolveclothing.fr/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/" />
<link rel="alternate" hreflang="ru-ru" href="<a href="http://www.revolveclothing.ru/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" rel="nofollow" target="_blank">http://www.revolveclothing.ru/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/" />
<link rel="alternate" hreflang="es-es"href="<a href="http://www.revolveclothing.es/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" rel="nofollow" target="_blank">http://www.revolveclothing.es/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/" />
<link rel="alternate" hreflang="ko-kr" href="<a href="http://www.revolve.co.kr/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" rel="nofollow" target="_blank">http://www.revolve.co.kr/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/" />
<link rel="alternate" hreflang="pt-br"href="<a href="http://www.revolveclothing.com.br/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" rel="nofollow" target="_blank">http://www.revolveclothing.com.br/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/" />
<link rel="alternate" hreflang="en-au" href="<a href="http://www.revolveclothing.com.au/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" rel="nofollow" target="_blank">http://www.revolveclothing.com.au/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/" />
<link rel="alternate" hreflang="ja-jp" href="<a href="http://www.revolveclothing.co.jp/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" rel="nofollow" target="_blank">http://www.revolveclothing.co.jp/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?" /></link rel="alternate" hreflang="ja-jp" href="<a></link rel="alternate" hreflang="en-au" href="<a></link rel="alternate" hreflang="pt-br"href="<a></link rel="alternate" hreflang="ko-kr" href="<a></link rel="alternate" hreflang="es-es"href="<a></link rel="alternate" hreflang="ru-ru" href="<a></link rel="alternate" hreflang="fr-fr"href="<a></link rel="alternate" hreflang="en-us" href="<a> -
Here, Ill just show the site
So here
view-source:http://www.revolve.com/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/
If you control find "href lang" you'll see the following (see below). Are you sure that the parameters (?d=Womens) should stay on there when the canonical page is http://www.revolve.com/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/ ?????
| rel="alternate" hreflang="en-us" href="http://www.revolve.com/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" /> |
| | rel="alternate" hreflang="fr-fr" href="http://www.revolveclothing.fr/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" /> |
| | rel="alternate" hreflang="ru-ru" href="http://www.revolveclothing.ru/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" /> |
| | rel="alternate" hreflang="es-es" href="http://www.revolveclothing.es/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" /> |
| | rel="alternate" hreflang="ko-kr" href="http://www.revolve.co.kr/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" /> |
| | rel="alternate" hreflang="pt-br" href="http://www.revolveclothing.com.br/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" /> |
| | rel="alternate" hreflang="en-au" href="http://www.revolveclothing.com.au/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" /> |
| |rel="alternate" hreflang="ja-jp" href="http://www.revolveclothing.co.jp/nightcap-dixie-cutout-mini-dress-in-sangria/dp/NIGH-WD262/?d=Womens" />
|
-
ok,
no, you should not remove the parameter unless there is a canonical tag, then set the hreflang as the canonical -
No it's not about removing the hreflang tag. It's that the hreflang has a parameter. Should I remove the parameter?
-
So, the clarification that you needed: No, you have not to remove the hreflang.
And there must be one tag for every language, in this case 8 hreflang. -
Hey GR,
There are 7 other ccTLD's which is why we have the href lang tag.
-
Hi paul,
Does that page have other languages? Or just frech?
In that case, it is no needed to set hreflang. Just declarin it in search console is enough.Besides its a page with a parameter, it still needs to be declared its language. (with hreflan if there are other languages and with SC, or if there is only one language just with SC)
Hope it helps
GR.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Are there any downsides to using a canonical tag temporarily?
I'm working on redesigning our website. One of the content types has a main archive page (/success-stories) containing all of the success stories (written by graduates of our program). Because we plan to have success stories for other people (non-graduates), I'm using category hierarchies (/success-stories/graduates and success-stories/nonprofits, for example). It will go one level deeper to organize graduates by graduation year (/success-stories/graduates/%year%). I think this will work out well. However, we won't have non-graduate success stories for a little while, probably at least a few weeks, which means that /success-stories and /.../graduates indices will contain the same content for a while. So my question is this: Will it hurt to use a canonical tag that points to /success-stories/graduates as the authority until the main archive page contains more than just graduates? Or would it be better to use a 302 redirect from /success-stories to /.../graduates until more diverse content is added?
Intermediate & Advanced SEO | | bcaples0 -
Href Lang tags in audit
Hi I am getting a couple of issues flag with my href lang tags, but when I manually check the pages I can't see the issues. Issue 1. No self referencing href lang tag example URL - http://www.key.co.uk/en/key/300kg-capacity-manutan-mobile-lift-table-lift-height-860mm-125h204 (these are SKU pages with duplicate content, so we have canonicals pointing to the main product page) Issue 2. Conflicting hreflang and rel=canonical - http://www.key.co.uk/en/key/500kg-capacity-manutan-mobile-lift-table-lift-height-945mm-127h204 I have checked the source code of the pages with errors against the pages which don't have errors and they look the same - so I am unsure what's wrong?
Intermediate & Advanced SEO | | BeckyKey0 -
SEO Indexing issues
Hi, We have been submitting sitemaps on a weekly basis for couple of months now and only 40% of the submitted pages are indexed each time. Whether on the design , content or technical side, the website doesn't violate google guidelines.Can someone help me find the issue? website: http://goo.gl/QN5CevThanks!
Intermediate & Advanced SEO | | ZeFan0 -
No international targeting option showing in GWT?
Hi for some strange reason for one of our sites the international targeting option to select what country to target in GWT is not showing. Usually it shows up like this: http://s9.postimg.org/bkxkkrafi/screenshot_1672.jpg (this is a different site we have in GWT). But it shows up like this: http://s16.postimg.org/im1ysd5z8/screenshot_1673.jpg With no way to change country targeting. My permission level is set as: Owner and are verified. Any ideas on why its not showing up? Cheers, Chris
Intermediate & Advanced SEO | | jayoliverwright0 -
On Page Content. has a H2 Tag but should I also use H3 tags for the sub headings within this body of content
Hi Mozzers, My on page content comes under my H2 tag. I have a few subheadings within my content to help break it up etc and currently this is just underlined (not bold or anything) and I am wondering from an SEO perspective, should I be making these sub headings H3 tags. Otherwise , I just have 500-750 words of content under an H2 tag which is what I am currently doing on my landing pages. thanks pete
Intermediate & Advanced SEO | | PeteC120 -
Canonical url issue
Canonical url issue My site https://ladydecosmetic.com on seomoz crawl showing duplicate page title, duplicate page content errors. I have downloaded the error reports csv and checked. From the report, The below url contains duplicate page content.
Intermediate & Advanced SEO | | trixmediainc
https://www.ladydecosmetic.com/unik-colours-lipstick-caribbean-peach-o-27-item-162&category_id=40&brands=66&click=brnd And other duplicate urls as per report are,
https://www.ladydecosmetic.com/unik-colours-lipstick-plum-red-o-14-item-157&category_id=40&click=colorsu&brands=66 https://www.ladydecosmetic.com/unik-colours-lipstick-plum-red-o-14-item-157&category_id=40 https://www.ladydecosmetic.com/unik-colours-lipstick-plum-red-o-14-item-157&category_id=40&brands=66&click=brnd But on every these url(all 4) I have set canonical url. That is the original url and an existing one(not 404). https://www.ladydecosmetic.com/unik-colours-lipstick-caribbean-peach-o-27-item-162&category_id=0 Then how this issues are showing like duplicate page content. Please give me an answer ASAP.0 -
Issues in Migrating to CMS
My number one client is migrating a formerly HTML/Dreamweaver site to an open source CMS (CMS Made Simple.) We have execellent rankings right now, and I am concerned about what we will lose, and how to ensure the rankings stay. Any guidance? I have already asked the developer to maintain the page names and structure, and tag the CMS output pages.htm . I've run a few weak spiders over the staged CMS site, and all the pages are being picked up. What else can I do, we are getting ready to launch. THANKS!
Intermediate & Advanced SEO | | jayt0 -
Use of the Canonical Tag, Both Internally and Cross Domain
I've seen the cross domain canonical not work at all in my test cases. And an interesting point was brought to my attention today. That point was that in order for the canonical tag to work, the page that you are referencing needs to have the exact same content. And that this was the whole point of the canonical tag, not for it to be used as a 301 but for it to consolidate pages with the same content. I want to know if this is true. Does the page you reference with a canonical tag have to have the same exact content? And what have been your experiences with using the canonical tag referencing another page on a different domain that has the same exact subject matter but not the exact duplicate content?
Intermediate & Advanced SEO | | GearyLSF372