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
-
Ranking Issue for New Site
Hi all, I have got a specific SEO challenge. 6 months ago, we started to build an eCommerce site (located in the UK). In order to speed up the site launch, we copied the entire site over from an existing site based in Ireland. Now, the new UK site has been running for 5 months. Google has indexed many pages, which is good, but we can't rank high (position: between 20-30 for most pages). We thought it was because of content duplication in spite of different regions. So we tried to optimize the pages for the UK site to make them more UK-related and avoid content duplication. I've also used schema to tell google it's a UK-based site and set up Google my business and got more local citations. Besides, If you could give me any suggestions, it'd be perfect.
Intermediate & Advanced SEO | | Insightful_Media
Thank you so much for your time and advice.1 -
Poor internal linking?
Hi guys, Analyzing a large e-commerce site 10,000 pages on Magento and not getting much organic traffic to level 3 sub-category pages, the URLs are like: Primary Keyword Target: BODY MOISTURISERS https://www.adorebeauty.com.au/skin-care/bath-body/moisturisers.html Primary Keyword Target: LIP MASKS https://www.adorebeauty.com.au/skin-care/masks/lip-masks.html Plus another 40 other URLs at level 3 with low organic performance. Authority of the domain is strong, so it's not an authority issue I believe its internal linking. Besides linking form the blog and breadcrumbs is there anything we can do to improve internal linking to these level 3 pages? Cheers.
Intermediate & Advanced SEO | | nattyhall0 -
Duplicate Content Issues :(
I am wondering how we can solve our duplicate content issues. Here is the thing: There are so many ways you can write a description about a used watch. http://beckertime.com/product/mens-rolex-air-king-no-date-stainless-steel-watch-wsilver-dial-5500/ http://beckertime.com/product/mens-rolex-air-king-stainless-steel-date-watch-wblue-dial-5500/ Whats different between these two? The dial color. We have a lot of the same model numbers but with different conditions, dial colors, and bands.. What ideas do you have?
Intermediate & Advanced SEO | | KingRosales0 -
Index, Nofollow Issue
We are having on our site a couple of pages that we want the page to be indexed, however, we don't want the links on the page to be followed. For example url: http://www.printez.com/animal-personal-checks.html. We have added in our code: . Bing Webmaster Tools, is telling us the following: The pages uses a meta robots tag. Review the value of the tag to see if you are not unintentionally blocking the page from being indexed (NOINDEX). Question is, is the page using the right code as of now or do we need to do any changes in the code, if so, what should we use for them to index the page, but not to follow the links on the page? Please advise, Morris
Intermediate & Advanced SEO | | PrintEZ0 -
Links with Parameters
The links from the home page to some internal pages on my site have been coded in the following format by my tech guys: www.abc.com/tools/page.html?hpint_id=xyz If I specify within my Google Webmaster tools that the parameter ?hpint_id should be ignored and content for the user does not change, Will Google credit me for a link from the home page or am I losing something here. Many thanks in advance
Intermediate & Advanced SEO | | harmit360 -
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 -
Indexing issue or just time?
Hey guys, When I publish a post on our blog, I notice that it barely shows up in SERPs even if I copy and paste the title verbatim into Google. All my settings in Yoast are correct from what I've seen. Is this just Google slowly getting around to crawling our site? Or is something else wrong here? We recently shut down and relaunched our site about 3 weeks ago. Here is the site URL: The Tech Block
Intermediate & Advanced SEO | | ttb0 -
Page Authority Issue
My home page http://www.musicliveuk.com has a domain authority of 42 and page authority of 52. However I have set up other pages on the site to optimise for one keyword per page as I thought this was best practice. For example http://www.musicliveuk.com/home/wedding-bands targets 'wedding band' but this has a page authority of 24 way below my competitors. Having used the keyword difficulty tool on here it appears that is why I am struggling to rank highly (number 9). This is the same problem for several of my main keywords. I am building links to this and other pages in order to increase their authority and eventually rank highly but am I not better off optimising my home page that already has a good page authority and would probably out rank my competitors? Or am I missing something?
Intermediate & Advanced SEO | | SamCUK0