SEO Implications For a Technical Functionality Fix
-
Our Magento based affiliate extension is not working, due to a conflict with the Varnish caching system. Varnish has a known bug which does not allow multiple cookies to be set.
Our workaround involves redirecting any request with the affiliate tracking parameter to the HTTPS version of the site. Varnish does not run on HTTPs and therefore our affiliate cookie will be set. Note: the main content of our site runs on HTTP.
My SEO concern is how to handle this for the search engines. We have a few things to consider:
- Redirect: Should we use a 301 or 302?
- Canonical: It seems to make sense to include a canonical on the HTTP version of the site without the affiliate tracking parameter - right?
- Robots Meta Tags: "noindex, follow" or "index, follow"
- Am I missing something?
Thanks for your time and consideration!
-
Thanks again to Ryan and Cyrus for chiming in. I'm going with:
- noindex,nofollow all HTTPs pages (they're not in the index anyway)
- Pull canonical tags from all HTTPs pages
- 301 redirect affiliate id links to HTTPs version of the page
Now, I just need to remember all of this when we finally get to transferring the site fully to HTTPs.
-
Thanks for the thoughtful reply.
-
Excellent and thorough breakdown by Cyrus here Darren. I didn't consider the nofollow / noindex combination negating the need for canonical because I was thinking of the incoming affiliate links to be nofollow to begin with (links form outside your site). I was also thinking nofollow / follow conflicts might arise on your HTTP site due to their presence on the HTTPS pages depending on how your site is constructed (inside your site). But now you've got analysis on the many angles you should be set to make an informed decision either way. Cheers!
-
If I understand correctly, you have incoming affiliate links which don't work on HTTPs due to varnish, so you are redirecting them to HTTPs, where they do work. Let me know if I'm missing anything.
Okay, first of all if you are serving up two versions of your site on any page (HTTP and HTTPS) without 301'ing one to the other, you should absolutely have canonical tags pointing to the HTTP. And without the affiliate tracking parameter. (Edit: see thoughts below on NOINDEX)
As for 301 vs 302: Technically, to stay within Google's guidelines, affiliate links to your site should be nofollowed. In practice, sometimes they can offer a ranking benefit, but more than often Google discounts them. Regardless, if you abuse them for linking purposes it can come back to bite you in some instances. There's no clear answer, but keep in mind 302s may very well negate some of the link equity from these affiliate links (which may or may not be a good thing)
NOINDEX - My thought process is, if you don't want the HTTPS URLs indexed, and the link equity from the affiliate links isn't a consideration, then it's likely best to NOINDEX, NOFOLLOW the pages. This ensures they will be kept out of Google's index, keep crawl efficiency optimized, and deliver cleaner results. This also means the canonical tag isn't necessary. (and probably unwanted, as it sends conflicting signals with the NOINDEX tag) Keep in mind this strategy effectively kills any incoming link equity from the affiliate links, but does help keep you within Google's good graces.
-
I don't see a downside to the 302 as it seems like the best one to use in this case. Similarly Google recommends a 302 for pages that are alternate language copies of each other, so it's a well-established convention to redirect in that regard, "A third scenario would be to automatically serve the appropriate HTML content to your users depending on their location and language settings. You will either do that by using server-side 302 redirects or by dynamically serving the right HTML content." from http://googlewebmastercentral.blogspot.com/2014/05/creating-right-homepage-for-your.html. In your case the location and language portion is being replaced with affiliate tracking variable.
-
Thanks for the time.
RE: HTTPs the entire site. Varnish doesn't play too nice with HTTPs. Plus, my understand is that one's site may take a performance hit...The whole reason we went to Varnish was due to perforance. BTW...the site is now pretty fast.
RE: 302. Just wondering if there are any down side...
-
Hi Darren. If you can, you could also consider migrating the entire site to HTTPS and using the 301 redirect. Otherwise a 302 would be more applicable as it's a conditional redirect for the page, based on the affiliate tracking parameter. With the 302 and HTTPS configuration, you'd also want to additionally set canonical to the HTTP version as that's the more publicly available site, and one you'd expect crawlers to go to minus the affiliate link. In this case it also sounds like the page is going to almost an exact duplicate, so noindex would be wise as well since you don't want search traffic landing on HTTPS as they're not an affiliate visit. That covers most of it. It sounds like you've already read what's out there, but here's Google's guide on using HTTPS: https://support.google.com/webmasters/answer/6073543. Cheers!
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 is mixing a product name with a technical term (both have same name)
Google is mixing a programming term name with a home product and ranking that programming website on top. And there is another 2 search results from the same website (DA - 56, PA - 55, Links - 71K, RD - 4500). Their positions are 1, 2 and 3. But the question/ answer section is showing question/ answer for both of the products, and there is local section, top stories, images, videos, Wikipedia, amazon, ad and an e-commerce site which is showing the home product. There are in total 7 results, and 1 ad. Google also showing description of both of the products on the right. 1,2,3 - Programming website, 4. Amazon, 5. Wikipedia, 6. Wikipedia, 7. E-commerce How difficult it could be to outrank the top result?
Affiliate Marketing | | Rafialam040 -
Guilty of keyword cannibalization. What's the best way to fix it without losing link juice?
Hi guys, I'm new here but I already spent hours reading the forums. I didn't post before because I didn't feel the need to, but today it's different. I don't want to take fixing steps that are not optimal for my website situation. So here's the problem : I am working on an affiliate website that is growing day after day and is already profitable. It is not by any mean a thin affiliate site. It's a french language website with product reviews on it. Right now there is 1 main page (hero page) per review in which I describe the products, put affiliate links, present useful information, etc. These pages have a good word count and I am targeting 1-2 main keywords on them which I consider a good practice. Couple of months ago I decided to add a product page for each one (normally it's 5 products per review) so I added 5 more page per review, targeting product names as new keywords. Problem is that : Product names are very similar to the main keywords (keyword cannibalization problem) There is very little added information on the product page when you compare it to the hero page (too thin) A lot of information is repeated on each of the product pages. I think this is bad. So I decided to keep only the hero pages to keep more link juice, avoid keyword cannibalization, improve page authority and get more content on one single page (only information that was not repeated have been added to hero page). I removed ALL THE LINKS to product pages (from the hero page). So now for my questions : Is it better to keep the product pages in my sitemap or to delete them right away? Is it better to let the product pages die by themselves over time or to 301 redirect all the product pages to hero page to keep link juice? The next question is a bit more complicated. Hope you guys understand what I mean. Considering that product pages are now gone, this will for sure weaken my bounce rate % because only hero page with good/deep information will be accessible to visitors (there is not a lot of internal links in each review, except to other, RELATED reviews). Is setting up goals in google analytics + telling google that it should consider a click on an affiliate link as a NEW PAGE VIEW (like it would act for a click on a link of a product on my own domain) will help for SERPs and SEO?? Or it will just help ME to see a lower bounce rate and setting goals? In other words, is tracking these links and let google see them as new pages clicks will help for the page rankings or not? Because from what I am understanding, a good bounce rate helps for rankings. If the changes made to avoid keyword cannibalization work, when could I potentially see the effects/benefits in the SERPs and trafic?
Affiliate Marketing | | benoit_20181 -
What impact do affiliate links have on SEO
We commonly reference engineering standards on our site (because half our products are known and searched for by those standard names) and have just signed up as an affiliate to an organisation that sell the standards. Which seems a nice match We're going through and making sure all are no follow now because that seems the general advice - but should we be doing anything else? Yoast says you should mask affiliate links - https://yoast.com/affiliate-links-and-seo/ - but that was from 2010. Matt Cutts is fairly clear on nonfollow - http://www.webpronews.com/heres-what-googles-matt-cutts-says-about-affiliate-links-and-nofollow-2012-06 - but not on whether it affects SERPS Does it? And what is the best way to handle it? This is a typical example of a page where we would have an affiliate link or two. http://www.oakleysteel.co.uk/fake-mill-certificates-en10168
Affiliate Marketing | | Zippy-Bungle0 -
How to prevent affiliates from bringing negative SEO?
Hi there, I'm just about to integrate iDevAffiliate network for one of my sites, however it occurred to me that affiliates may (unfortunately) resort to black hat methods without me becoming aware of it, which could pass negative link juice to my site. Is there any way to use affiliate networks such as iDev without causing this problem? I was thinking of simply using a different URL, but the problem is that 301 redirects won't mitigate the issue. Thanks!
Affiliate Marketing | | freeunlocks0 -
Does having affiliates hurt seo?
one of my clients has a TON of affiliates out there building links back to his site all with the ?ref=AFFILIATENAME tracking string does google understand this and not count these links or is there a way to nofollow all links with this tracking string? just wondering how big companies rank well and still have thousands of affiliates building links on all kinds of properties using all kinds of methods thanks
Affiliate Marketing | | Ezpro90 -
Can linking out to a weak site harm my sites SEO?
We have an affiliate that wants us to link to his site to help him get started. His website looks okay and is in the same niche as us. However, he has PR 0 and no Page Trust. We could work in a natural looking link in a news article, but there is no way he could be considered any kind of "authority" link. Can linking to his site harm us?
Affiliate Marketing | | theLotter0 -
Does an affiliate link bring the same SEO juice as a standard link?
I wonder if affiliate links, like the ones offered by Amazon Associates program bring the same SEO as would a link to the same page without this additional "ref=..."?
Affiliate Marketing | | maciek-0 -
In search of the perfect SEO affiliate ID'd URL
Hi, I'm building an affiliate system for our website, and I obviously want to gain as much SEO benifit from it as possible. So I am wondering what the optimal solution is with regard to how an affilaite URL is tagged. After looking into it a bit more - I have come up with the following. 1/. Use an affilaite URL idendifier with a #
Affiliate Marketing | | James77
EG like www.mysite.com#123 2/. 301 redirect the affilaite URL to the "real URL"
EG www.mysite.com#123 301 -> www.mysite.com What do you think of this? Thanks0