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
-
Google SERPs displaying Tracking Tags
Hello, I'm hoping someone can help me! Can you tell me why Google would be displaying the tracking URLs in the SERPs (screenshot - http://i.imgur.com/gbskD26.jpg)? I'm thinking it may have to do with the canonical URLs, but I'm not sure.. Thanks in advance! gbskD26.jpg
Intermediate & Advanced SEO | | Mindstream_Media0 -
URL Spoof Issue in Search Results
Hello! We could use some assistance diagnosing an issue. In order to avoid asking a convoluted question, I will try to break it down below: 1. A random foreign site is hacked and a subdirectory is added that is completely irrelevant to the root. a). i.e. http://www.um.org/prom_dresses/ 2. http://www.um.org/prom_dresses/ is just a phishing prom dress page 3. When you search "prom dress shop", the website that used to rank first (for good reason) was www.promdressshop.com. 4. www.promdressshop.com's home page has now been replaced by: um.org/prom_dresses/ – who is using prom dress shop's title tag and meta description. How is it possible that this hacked page (on um.org) is not only ranking above us, but is also starting to replace www.promdressshop.com's pages in search results. We do not believe www.promdressshop.com has been hacked but are open to any ideas. Please let me know if you would like any additional info. Thanks in advance! new
Intermediate & Advanced SEO | | LogicalMediaGroup0 -
Meta Tags (again)
Hey, I know this has been discussed to death but look back through previous postings there doesn't seem to be a consensus on the exact Meta tags that an eCommerce site should include, specifically whether to remove the keyword tag or not since it is believed that Yahoo potentially still makes use of it. Currently our homepage has the following Meta Tags: <title>Buy Printer Cartridges | Ink and Toner Cartridge for Inkjet and Laser Printers</title> Description" content="<a class="attribute-value">Visit Refresh Cartridges for great prices on ink cartridges, toner cartridges, ink, printers and accessories.</a>" /> Keywords" content="<a class="attribute-value">ink cartridges, cheap cartridges, inkjet cartridges, inkjet ink cartridges, ink cartridge, printer ink cartridges, laser cartridges, toner, laser printers</a>" /> Content-Type" content="<a class="attribute-value">text/html; charset=iso-8859-1</a>"/> author" content="<a class="attribute-value">Ink Cartridges, Inkjet Cartridge, Printer Cartridge, Toner Cartridges Refresh Cartridges</a>" /> expires" content="<a class="attribute-value">0</a>" /> robots" content="<a class="attribute-value">noodp,index,follow</a>" /> Language" content="<a class="attribute-value">English</a>" /> Cache-Control" content="<a class="attribute-value">Public</a>" /> verify-v1" content="<a class="attribute-value">sJXqAAWP6ar/LTEOMyUgG6nqothxk62tJTid+ryBJxo=</a>" /> viewport" content="<a class="attribute-value">width=1024</a>" /> This is too messy but before I do something drastic that I'll possibly regret please can you confirm that, in your opinion, I am best to remove everything with the exception of this: <title>Buy Printer Cartridges | Ink and Toner Cartridge for Inkjet and Laser Printers</title> Description" content="<a class="attribute-value">Visit Refresh Cartridges for great prices on ink cartridges, toner cartridges, ink, printers and accessories.</a>" /> Content-Type" content="<a class="attribute-value">text/html; charset=iso-8859-1</a>"/>
Intermediate & Advanced SEO | | ChrisHolgate
viewport" content="<a class="attribute-value">width=1024</a>" /> I realise there is a verify-v1 tag in there but this can be done through a file on our server so while cleaning up that might as well go. Would there be an argument for keeping any of the other tags or are they all pretty much redundant now? Many thanks! Chris0 -
Wordpress Tag Pages - NoIndex?
Hi there. I am using Yoast Wordpress Plugin. I just wonder if any test have been done around the effects of Index vs Noindex for Tag Pages? ( like when tagging a word relevant to an article ) Thanks 🙂 Martin
Intermediate & Advanced SEO | | s_EOgi_Bear0 -
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 -
Headline tag for images in Photoshelter
Hello! I use Photoshelter for my commercial photography website: http://www.ioansaidphotography.co.uk/ I'm trying to make it better re SEO and all that by filling as much information as I can. I'm using Picworkflow who give you a title, description and keywords for every picture.. But in Photoshelter's IPTC metadata editor, they put an SEO tag by Headline (essentially saying it's important) and not by title. Do you think it's good/useful/safe to use the info Picworkflow gave me for title and put it in Headline? PS: This is for the pictures individually and not the pages. Thanks!
Intermediate & Advanced SEO | | IoanSaid0 -
Alt tags
What options do I have if all my images are pulled in by tags background images? It's a customized CMS and the designer put all images in the CSS so he would have more control over image size. I would like to somehow add description elements to the alt tags Thank, Eric
Intermediate & Advanced SEO | | SeaDrive0 -
Google Author Biography Tag-Why Should I Pay Attention To The Author Biography Tag
Hello, I've reading all about Google's Author Biography tag but I am not sure how I can use this in my business. Can anyone explain ( in plain simple English) how I can leverage this tag? Is there any implications in SEO and higher rankings? Just trying to wrap my head around this concept and why it's important...or not. Thanks, Bill
Intermediate & Advanced SEO | | wparlaman0