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
-
Is there an issue with my site?
Been mostly hanging around top of page two for the last couple of years for “Liverpool Wedding photographer” although got myself on page 1 for “Liverpool photographer” I have split the title of the page to target these two keywords. I took the Liverpool photographer off the title to see if it was being detrimental to the “Liverpool wedding photographer” I didn’t see no increase in ranking so put it back as I get a bit of commercial work from it. Since last year I have got onto page 1 at least three times around position 5-6. Within a week or two I start sliding down again and end up back at top of page two. I could understand this slow push out if my competitors were busy SEO wise but from what I have seen they are not. There is a guy using the keywords in URL and calls himself “Liverpool wedding photographer” last time I checked he literally had no links but is in the first 5 positions. I have I think a better link profile than every one else. Although I am on and off with Facebook and Instagram, (more off) so that probably isn’t helping. Although I have a colleague in the video side of things and he doesn’t use social media at all and it hasn’t harmed him. A few years ago I was burned quite badly by a total charlatan. He sunk my home page to page 4. He talked the talk about creating landing pages but his methods were shoddy to say the least. I can’t believe I was taken in by him, although I was only with him for 2 months. He was still using spammy link techniques to generate lots of toxic links for me! I disavowed all of his links and put the keywords back on the home page and was back to my usual top of page 2 position within a week. Since then I have disavowed all directory links and anything not wedding related. I have an article which ranks 1st or second for “Nikon CLS”. I have also another article of 2000 words or so on another reasonable placed photography website. A few links from other vendors or people I have taken photographs for. I have about 10 featured weddings with a link on 4 good weddings blogs. I don’t think a massive amount of blog comments although I have stopped doing this. If I look at most of the competitors these are their main links, with directories as well! Last winter I put a quite substantial article about documentary wedding photography on my home page. I flew to number 2, although I photographed The World Transformed (the alternative labour conference in Liverpool). I got a lot of clicks to a gallery page (few thousand off social media} so I don’t know if that coincided with it. Same thing – watching the website go down a few positions every day until within just over a week or two I was about 4<sup>th</sup> on page 2! Its like my website is on a spring which can push into page 1 but rebounds back to top of page 2. I am staring to worry that my site has been marked as a bad character in some way because I get what seems to be rough treatment from google compared to my peers. I have written I think 4 or 5 (1500 word) articles the last couple of months talking about lenses and wedding photography related topics and Google pushed me back to page 1, peaking At position 5. I was there for a few weeks and then the slide happened again. Bit demoralised at the moment, what to do? Any help or pointers would be most appreciated. Best wishes. David.
Intermediate & Advanced SEO | | WallerD0 -
Help With Href Lang Implementation
Hi, We've received the following Href Lang errors in Google Search Console. After much research and playing around with the tags we're still no closer to fixing the issues. ERRORS; http://prntscr.com/du8ei8 AND http://prntscr.com/du8evi As you'll see, Google is telling us that some URLs do not have return tags, but they do seem to! Does anyone know of a pro that can provide a service to fix this for us? Many thanks in advance, Lee.
Intermediate & Advanced SEO | | Webpresence0 -
Canonical Tags increased after putting the appropriate tag?
Hey, I noticed that the number of duplicate title tags increased from 14k to 30k in Google Search Console. These dup title tags derived from having the incorrect canonical tags. For instance, http://www.site.com/product-name/product-code/?d=Mens
Intermediate & Advanced SEO | | ggpaul562
http://www.site.com/product-name/product-code/?d=Womens These two are the same exact pages with two parameters (These are not unisex by the way). Anyway, when I viewed the page source, it had the parameter in the canonical tag so.... it would look like this So whether it be http://www.site.com/product-name/product-code/
http://www.site.com/product-name/product-code/?d=Mens
http://www.site.com/product-name/product-code/?d=Womens The canonical tag had the "?d=Womens" I figured that wasn't best practices, so for the canonical tag I removed the parameter so now the canonical tag is http://www.site.com/product-name/product-code/ for that specific page with parameter (if that makes sense). My question is, why did my number of errors doubled after what I thought fixed the solution?0 -
International Sitemaps
Hey Dudes, Quick question about international sitemaps. Basically we have a mix of subfolders, subdirectories, and ccTLDs for our different international/language sites. With this in mind how do you recommend we set up the site map. I'm thinking the best solution would be to move the subfolders and subdirectories onto an index and put the ccTLD site maps on their own root only. domain.ca/sitemap (This would only contain the Canada pages) domain.com, fr.domain.com, domain.com/eu/ (These pages would all have an index on domain.com/sitemap that points to each language/nations index) OR Should all site have a site map under their area. domain.com/sitemap, fr.domain.com/sitemap, domain.com/eu/sitemap, domain.ca/sitemap? I'm very new to international SEO. I know that our current structure probably isn't ideal... but it's what I've inherited. I just want to make sure I get a good foundation going here. So any tips are much appreciated!
Intermediate & Advanced SEO | | blake.runyon0 -
Pagination parameters and canonical
Hello, We have a site that manages pagination through parameters in urls, this way: friendly-url.html
Intermediate & Advanced SEO | | teconsite
friendly-url.html?p=2
friendly-url.html?p=3
... We've rencently added the canonical tag pointing to friendly-url.html for all paginated results. In search console, we have the "p" parameter identified by google.
Now that the canonical has been added, should we still configure the parameter in search console, and tell google that it is being use for pagination? Thank you!0 -
Internal links and URL shortners
Hi guys, what are your thoughts using bit.ly links as internal links on blog posts of a website? Some posts have 4/5 bit.ly links going to other pages of our website (noindexed pages). I have nofollowed them so no seo value is lost, also the links are going to noindexed pages so no need to pass seo value directly. However what are your thoughts on how Google will see internal links which have essential become re-direct links? They are bit.ly links going to result pages basically. Am I also to assume the tracking for internal links would also be better using google analytics functionality? is bit.ly accurate for tracking clicks? Any advice much appreciated, I just wanted to double check this.
Intermediate & Advanced SEO | | pauledwards0 -
Schema Tag and RDF Microdata for Breadcrumbs
Can someone assist to analyse is the Schema tag and RDF Microdata is correct - http://www.mycarhelpline.com/index.php?option=com_newcar&view=product&Itemid=2&id=106&vid=361 - http://www.mycarhelpline.com/index.php?option=com_newcar&view=product&Itemid=2&id=22&vid=6 Reason - am asking is there are many sites reported on that the rich snippet though shows but in actual the RDFMicrodata does not show in on search engines many thanks
Intermediate & Advanced SEO | | Modi0 -
Hierachy in a Title Tag Needed?
When coding the title tags of a website, is it important to note the hierarchy of the website so the search engine can find that page? So, for example, the title tag would be, for a subcategory: Webpage Subcategory>Category>Website name Does this help the search engine rankings at all? Or can the search engines figure out the hierarchy by reading a sitemap or the HTML readable navigation? Then you could focus on the descriptive keywords of the subcategory page for the title tag. Also, should you always include the site name in the title tag?
Intermediate & Advanced SEO | | ConnellyPartners0