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 -
Choosing an Affiliate Software & Link SEO-Value
Hello everyone. I'm looking for recommendations for affiliate software. I'm also curious if there is any truth in the "SEO-value" that some softwares are touting as a benefit. Choosing a Software: This Moz Blog Article says to build it yourself. However, I'm inclined to use an out-of-the-box software for advanced features such as real-time analytics for the affiliate, w-9/1099 processing, etc. MozPerks promotes hasoffers.com which seems overly pricey ($230/month with perk discount) and OMNISTAR who just left me on hold for 10 minutes (and still no anwer from their sales department). So I'm still looking. Any recommendations? SEO-value of Links from Affiliates: Here's an example of what OMNISTAR claims about the SEO value of the way they structure the links from affiliate sites to my site. I hear a variation on this pitch from each software and none of them seem to agree. Does Google want me to clearly tag promotional vs. editorial links? Is there SEO-value in promotional links on affiliate sites or is that a load of bologna? Thanks a bunch!
Affiliate Marketing | | Harbor_Compliance0 -
Will giving a blogger an affiliate url to my site reduce her links' seo value to me?
If a blogger were to write a post about one of my products and link to my product page, would giving her an affiliate url to link to rather than the normal link spoil the seo value of the link? So instead of mysite.com/product-one it would be mysite.com/affiliate/blogger/product-one Google would think... this is a transaction not a vote of confidence?
Affiliate Marketing | | Brocberry0 -
Which affiliate programs pass the best SEO value through their links?
How good is Google at detecting the affiliate nature of those links? How does this rate as a linkbuilding strategy?
Affiliate Marketing | | menachemp0 -
How much SEO benefit am I getting from 'affiliate' links?
Hi all, We run lots of different campaigns with affiliates and as such they have links on their websites pointing back to ours. I was keen to know how much 'link-juice' these kinds of links are passing back to our websites or how much SEO benefit we are getting from them. The links have "?=affiliate" in them. Any thoughts would be greatly appreciated!! Many thanks! Rob
Affiliate Marketing | | RobertHill0 -
Casino SEO
I'm considering entering the online casino arena with an affiliate site. These keywords such as 'online roulette', 'online blackjack' are massively competitive with high page and domain authority sites on page one. Does anyone have any experience of this area and is it possible to compete in it? Apparently long tail keywords don't really convert in this area so I may have to go for these highly competitive keywords. Any thoughts?
Affiliate Marketing | | SamCUK0 -
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 -
Affiliate for SEO
Hello, If you get bad websites as affiliates through share a sale can that hurt your seo? Thanks Tyler
Affiliate Marketing | | tylerfraser0