Canonical tag help
-
Hi,
We have a product which is marketed by affiliates . Affiliates send referrals to our sale page by adding their affiliate IDs to our product page like http://www.mysite.com/products.php?ref= 12345.
We want to avoid the content duplication impression to Google by using canonical tags but we are not clear about its use.
Should we use it on http://www.mysite.com/products.php ( actual page) or we should create temporary pages for each referral id i.e http://www.mysite.com/products.php?ref= 12345 and then add canonical tags to all those pages linking to proper page i.e http://www.mysite.com/products.php ?
Thanks,
shaz
-
Thanks Peter, I've added those urls to canonical tags which are actually being viewed by users i.e simple-url from above mentioned rewrite rule . So now same url is being used both for user and search engine bots
-
Be careful changing your sitewide URL structure, but if you're going to show users the "url-with-extension" version, make that canonical. It's dangerous to use one version for users and another for search, and people will start linking to the one they see.
I'd also 301-redirect the rewrite (add "[R=301]" to the end of the rewrite rule) and link to it internally. If you have one "canonical" version for bots and another for visitors, you'll end up with a mess.
-
Hi,
I've written some rewrite rules in htaccess file to make url names more readable like
RewriteCond %{REQUEST_URI} (.)(simple-url)$
RewriteRule (.)$ url-with-extension.phpShould i specify the "simple-url" or "url-with-extension.php" (urls from above example) in canonical tag as proper url ?
Thanks,
shaz
-
Thanks Peter for the explanation. We only have ref ID so we should be fine by adding canonical tag to only products.php.
All of you have been really helpful.
Regards,
shahzad
-
Thank you Dr. Pete
-
I want to expand on what I think Istvan was trying to say. First, the canonical on "products.php" will consolidate all of the affiliate IDs. That should be a perfectly valid solution here.
The only warning is whether you have other IDs on that page that drive different product views. If it's just one single product page, then the canonical is great here. If, however, you have something like:
http://www.mysite.com/products.php?prod=1&ref=12345
http://www.mysite.com/products.php?prod=2&ref=12345
...where "prod=" (or something like it) represents separate products, then a canonical tag to "/products.php" would collapse ALL of your product pages into one. That's certainly not what you want. So, it does depend a lot on the details. In that case, the "?prod=1", etc. version would actually be the canonical version (you'd have to set the tag dynamically).
-
Yes, the parameter is there only to track the affiliate
Thanks,
shaz
-
But you'd still want to add a rel=canonical on the products.php page so that all "versions" that get indexed with a referrer parameter are pointing to the vanilla products.php as the canonical version?
-
Hi,
I'm afraid your answer is not entirely correct.
Let me quote directly from the source:
"If Google knows that these pages have the same content, we may index only one version for our search results. Our algorithms select the page we think best answers the user's query. Now, however, users can specify a canonical page to search engines by adding a **** element with the attribute
rel="canonical"
to the **** section of the non-canonical version of the page. Adding this link and attribute lets site owners identify sets of identical content and suggest to Google: "Of all these pages with identical content, this page is the most useful. Please prioritize it in search results." -
Hi Shaz,
When you are loading http://www.mysite.com/products.php?ref=12345, you are basically loading http://www.mysite.com/products.php.
In order to resolve the duplicate content issue for each product page you could insert a canonical pointing to itself OR you could eliminate the duplicates by adding the affiliate parameters into Google Webmaster Tools -> Site Configuration -> URL parameters. This way you will tell Google what that specific parameter is.
Or you could use both (if it is a large website, it is advised to do so).
I hope that helped,
Istvan
-
Hi Shaz,
I'm guessing the parameter displays no alternative content, it's simply there for tracking, right?
If so, the canonical tag should simply be added to http://www.mysite.com/products.php
You can also set how you want Google to interact with parameters via Google Webmaster Tools.
Good luck!
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
-
How can i define a ALT Tag for Youtube videos?
Hello, When i scan with SEMrush it shows all such pages do not have ALT Tags http://img.youtube.com/vi/iJ4pmmRSZxc/hqdefault.jpg What should the ALT be for them and how can i control as we have 1000's of Youtube videos displayed on various parts of our website Thank you
On-Page Optimization | | ktrinkqao120 -
Link in H1 tag?
Hi guys, We're working through a redesign of our product page and are considering the following: http://screencast.com/t/NBSsDGA9vgS3 Currently the product name (including the brand name - Arc'teryx) in this case is included in the H1 and none of the title is linked. You can see this here: http://www.evo.com/synthetic-jackets/arcteryx-atom-lt-hoodie-womens.aspx The firm we're working with is proposing keeping the entire title in the H1 but linking the brand name to the entire brand assortment. My concern is that the brand name is a critical part of the product title and should be text (not a link). Any suggestions? Thanks!
On-Page Optimization | | evoNick
Will0 -
Use of the word Find in Title Tags
Hey, So i'm looking to make content that is optimized for Finding an injury lawyer in boston. The Phrase "Personal Injury Lawyers in Boston" get's a lot more searches than "Find Personal Injury Lawyers in Boston" but with the Find is it less competitive? The same thing goes for "Find lawyers in Boston" vs. "Lawyers in Boston." My question is, is it better to put the word FInd in front or not? Is there a downside?
On-Page Optimization | | RafeTLouis0 -
Paying someone for SEO help?
Moz has been very helpful but since my site was hit by Google Panda and I am getting very little organic traffic, I am thinking about having someone who really knows SEO take a look and give me some help. However, I have no idea how to find someone reputable. Any advice for hiring someone for SEO help (on a budget?)
On-Page Optimization | | 2bloggers0 -
Canonical issue
Hi again, my SEOMOZ software has found some "notices" related to certain pages regarding canonical tag. Here are some examples: El primer campamento de kitesurf en tarifa, somos tks!
On-Page Optimization | | juanmiguelcr
http://www.tarifakitesurfcamp.com/
http://www.tarifakitesurfcamp.com/
1 0
El primer campamento de kitesurf en tarifa, somos tks!
http://www.tarifakitesurfcamp.com/?attachment_id=
http://www.tarifakitesurfcamp.com/
1 0
Aviso Legal y Política de Privacidad
http://www.tarifakitesurfcamp.com/aviso-legal-y-politica-de-privacidad/
http://www.tarifakitesurfcamp.com/aviso-legal-y-politica-de-privacidad/
1 0
campamento de kitesurf tarifa en un complejo natural con tks!
http://www.tarifakitesurfcamp.com/campamento-kitesurf/
http://www.tarifakitesurfcamp.com/campamento-kitesurf/
1 0
campamentos bilingues para niños y jóvenes en tarifa, tsk!
http://www.tarifakitesurfcamp.com/campamentos-bilingues-para-ninos/
http://www.tarifakitesurfcamp.com/campamentos-bilingues-para-ninos/
1 0
Condiciones Generales
http://www.tarifakitesurfcamp.com/condiciones-generales/
http://www.tarifakitesurfcamp.com/condiciones-generales/
1 0
Contacto
http://www.tarifakitesurfcamp.com/contacto/
http://www.tarifakitesurfcamp.com/contacto/
1 0 Can anyone tell me what does mean? I guess it has to do with the impact of some kind of plugin since I haven't done anything. Thanks in advanced.0 -
Is it redundant to include a redirect to my canonical domain (www) in my .htaccess file since I already have the correct rel="canonical" in my header?
I've been reading the benefits of each practice, but not found anyone mentioning whether it's really necessary to do both? Personally I try to stay clear of .htaccess rewrites unless it's absolutely necessary, since because I've read they can slow down a website.
On-Page Optimization | | HOPdigital0 -
Should I use rel=canonical in this case
Hi SEO pros, I am working on a website competing on the keyword "USA maps" and would appreciate your advice and comments on the issue below. The site has one major page for USA maps and like 5-6 smaller pages under different categories, e.g. US travel maps (under Travel Maps category), US travel guides (under Travel Guides), US atlases (under Atlases), etc. The smaller pages do not rank in search results and are not optimized well for any keyword. Here are my questions: #1. Do you think that if I add rel=canonical to the main USA maps page from all small pages that will help get higher ranking of the main page? #2 Or should I better try to optimize these small pages for the keywords they target (e.g. "US travel maps") and try to send link juice to the main page from text link within the content? Thank you,
On-Page Optimization | | ParisChildress0 -
Meta Description Tags and Rankings
Hi there, I have a lot of pages set up on my site but most have no content. If I add the correct meta description tags to those pages, will that help rank for the root domain? I am slowly getting the content added for each page but wanted to see if I could boost rankings in the meantime. http://www.petmedicalcenter.com Example: most of pages under "Services" are blank. Thanks for the help!
On-Page Optimization | | PMC-3120870