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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
-
Canonical tag on a large site
when would you reccomend using a canonical tag on a large site?
Intermediate & Advanced SEO | | Cristiana.Solinas0 -
Breadcrumbs and internal links
Hello, I use to move up my site structure with links in content. I have now installed breadcrumbs, is it is useful to still keep the links in content or isn't there a need to duplicate those links ? and are the breadcrumbs links enough. Thank you,
Intermediate & Advanced SEO | | seoanalytics1 -
Have a Robots.txt Issue
I have a robots.txt file error that is causing me loads of headaches and is making my website fall off the SE grid. on MOZ and other sites its saying that I blocked all websites from finding it. Could it be as simple as I created a new website and forgot to re-create a robots.txt file for the new site or it was trying to find the old one? I just created a new one. Google's website still shows in the search console that there are severe health issues found in the property and that it is the robots.txt is blocking important pages. Does this take time to refresh? Is there something I'm missing that someone here in the MOZ community could help me with?
Intermediate & Advanced SEO | | primemediaconsultants0 -
Which One Would You Suggest Me in Terms of Internalization?
Hi Friends, This is my website http://goo.gl/fYndv. As of now, we have only one domain and we have contents in both English & Arabic. Arabic is translated content from English. So, we use alternate tags to indicate Google about that. We mostly receive traffic from Saudi Arabia because we are based out there. Now, we are planning to target major countries like India, Australia & So on. We know like creating sub-folders over sub-domains would be good like example.com/in/ over in.exmaple.com. But we are not going to change any contents only currency gets changed in those geo-graphic sub-domains or sub-folders. I just want to know, since I am not going to change the contents will it be good if I go with sub-folder like example.com/in. Is there any chance for Google penalization?
Intermediate & Advanced SEO | | Prabhu.Sundar0 -
Proper Title Tags for ecommerce
In terms of E-commerce title tags. We are a manufacturer of our own clothing products. We are new to the SEO landscape so if this question is an obvious answer, then i apologize for wasting any one times in advance. We Manufacture our own clothing. Each item has a name. The names are American womens names such as amanda or lori or jenniffer etc. When we create the title tag for them should we include the name of the item itself at the beginning or end. For example should it be Item Name - Keyword - Keyword - Brand Name(aka manufacturer) or Keyword - Keyword - Item Name - Brand Name (aka manufacturer) The reason we ask this is because we think it would be a waste to rank for actual American names such as Jennifer and Jessica. All that we have read on Moz suggests that it seems to be better to have pertinent keywords in the beginning of the title as opposed to the end. In terms of our brand name we already rank number 1 for every combination of our brand. So we would like to start picking up traffic for the different product types we sell and there respective synonyms. Not sure if i am making any sense. Sorry in advance, and any help is very very much appreciated.
Intermediate & Advanced SEO | | Imagination0 -
Canonical tags and product descriptions
I just wanted to check what you guys thought of this strategy for duplicate product descriptions. A sample product is a letter bracelet - a, b, c etc so there are 26 products with identical descriptions. It is going to be extremely difficult to come up with 25 new unique descriptions so with recommendation i'm looking to use the canonical tag. I can't set any to no-index because visitors will look for explicit letters. Because the titles only differ by the letter then a search for either letter bracelet letter a bracelet letter i bracelet will just return results for 'letter bracelet' due to stop words unless the searcher explicitly searches for 'letter "a" bracelet. So I reckon I can make 4 new unique descriptions. I research what are the most popular letters picking 5 from the top (excluding 'a' and 'i'). Equally share the remaining letters between those 5 and with each group set a canonical tag pointing to the primary letter of that group. Does this seem a sensible thing to do?
Intermediate & Advanced SEO | | MickEdwards0 -
International SEO - cannibalisation and duplicate content
Hello all, I look after (in house) 3 domains for one niche travel business across three TLDs: .com .com.au and co.uk and a fourth domain on a co.nz TLD which was recently removed from Googles index. Symptoms: For the past 12 months we have been experiencing canibalisation in the SERPs (namely .com.au being rendered in .com) and Panda related ranking devaluations between our .com site and com.au site. Around 12 months ago the .com TLD was hit hard (80% drop in target KWs) by Panda (probably) and we began to action the below changes. Around 6 weeks ago our .com TLD saw big overnight increases in rankings (to date a 70% averaged increase). However, almost to the same percentage we saw in the .com TLD we suffered significant drops in our .com.au rankings. Basically Google seemed to switch its attention from .com TLD to the .com.au TLD. Note: Each TLD is over 6 years old, we've never proactively gone after links (Penguin) and have always aimed for quality in an often spammy industry. **Have done: ** Adding HREF LANG markup to all pages on all domain Each TLD uses local vernacular e.g for the .com site is American Each TLD has pricing in the regional currency Each TLD has details of the respective local offices, the copy references the lacation, we have significant press coverage in each country like The Guardian for our .co.uk site and Sydney Morning Herlad for our Australia site Targeting each site to its respective market in WMT Each TLDs core-pages (within 3 clicks of the primary nav) are 100% unique We're continuing to re-write and publish unique content to each TLD on a weekly basis As the .co.nz site drove such little traffic re-wrting we added no-idex and the TLD has almost compelte dissapread (16% of pages remain) from the SERPs. XML sitemaps Google + profile for each TLD **Have not done: ** Hosted each TLD on a local server Around 600 pages per TLD are duplicated across all TLDs (roughly 50% of all content). These are way down the IA but still duplicated. Images/video sources from local servers Added address and contact details using SCHEMA markup Any help, advice or just validation on this subject would be appreciated! Kian
Intermediate & Advanced SEO | | team_tic1 -
Shortening Keywords in a title tag
in my title tag i want to have: 3D Renders of Office Refurbishment & Interior Design Kent | Complete Group which unfortunatly is longer than 70 characters, however, to make it fit in 70 characters i could put: 3D Renders of Office Refurb & Interior Design Kent | Complete Group Notice that refurbishment has been changed to refurb, would this be ok for SEO purposes?
Intermediate & Advanced SEO | | CompleteOffice0