PHP Redirection better than Nofollow?
-
Hello, if I have affiliate outbound links in my blogs, what's better in terms of SEO, to use PHP Redirection or Nofollow for those links?
For example, instead of using nofollow for the outbound affiliate links, I can use some plugin for WordPress that does this:
mydomain.com/affiliatesitename1 -> redirects to the affiliate link1.
mydomain.com/affiliatesitename2 -> redirects to the affiliate link2.
mydomain.com/affiliatesitename3 -> redirects to the affiliate link3.
Is this better?
Thanks.
-
Excellent points and advice, thanks everyone for answering.
-
Federico - Sure... if it does that as part of the plugin, then it should be good to go...
-
Hey Jeff, probably if there's a plugin designed to specifically redirect affiliate links I bet it already does a 302 redirect while suggesting to add the disallow in the robots.txt (or even adding itself).
-
My hunch is that if you use the method you just outlined, where:
mydomain.com/affiliatesitename1 -> redirects to the affiliate link1... you are essentially creating the equivalent of a followed, 301 redirect from your site to their site, and passing along link value as a result. It would appear to me that this would be a followed link. Depending on the number of redirects, a percentage of the link value may be lost as a result. But if that is what you would like to do, then go ahead and do so.
But a better practice would be to no-follow those links, as they are outbound affiliate links.
Hope this makes sense?
Thanks,
Jeff -
Both will actually have the same effect as long as you nofollow your affiliate links directly or the PHP script that does the redirection is disallowed via the robots.txt + makes a 302 redirect.
The downside of using nofollow is that you can't track the hits on those links from your end, but with PHP you can save that into a DB or any file.
Hope that helps!
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
-
Why are my total links to site going down but my average position keeps getting better on Webmaster?
Google Search Console says I have 141 Total Links. 2 months ago, I had 160 links. My average position went from 60.1 to 58.9.
Link Building | | guerratheron010 -
301 redirect of PR 6 domain to PR 1 site, Will it improve my site's seo?
I have a pagerank 1 website but i recently purchased one old pagerank 6 domain, if I 301 redirect this pr6 domain to my currrent pr1 site, will it will increase my site's pr and improve seo ?
Link Building | | IndiaFPS0 -
How To Override rel=nofollow tag
I have a plugin that automatically adds rel="nofollow" to anchor tags that link to external websites. Now I want to make a particular link to override that nofollow tag and pass the page juice to it. How should I go about it? Will adding rel="follow" help?
Link Building | | mstoic0 -
Using brand domain for easy verbally said with 301 redirect to exact match.net for a site
I have recently bought an exact match.net for a keyword with no hyphens (on the fence about hyphens, read so many different views on here). From looking around it seems that not all solicited links that I am interested in use anchor text, but more significantly exact match domain would be like automatic anchor text when anyone from the general population posts a link to your site. I sell print books and am thinking of keeping the non-keyword domain in them so they are easy to say and type, while using the exact match domain for everything else online which the non-keyword domain would 301 redirect to. I don't do any programming and will use cPanel on my webhost to do the 301 redirect, I already have one 301 to go to the www subdomain so that would make two 301's. This might sound quite straight forward to many here but it's fairly new to me and I've not seen cPanel mentioned here yet, so was wondering if I am going about it the right way.
Link Building | | Zoolander0 -
Is it better to link back to the root domain, or the specific page you're optimizing for?
I'm working on a project our site - building links for iPhone Repair. For the term "iphone repair miami" - is it more ideal to link to the root domain (xxx.com) or to the subpage that is about iPhone Repair (xxx.com/iphone-repair)? I would imagine the latter - but obviously that page has less authority than the root. Thanks!
Link Building | | preemo0 -
Why is Business.com a valuable link when they are all nofollow?
Earlier today, I received a $50 off coupon for a Business.com listing. Back when I was really learning about directories, lots of people recommended getting one of these listings because editors actually review it to make sure the website linked is of good quality. Even the SEOmoz Directory Guide regards it as a good link. Now, it seems like every outbound link from Business.com has a 'nofollow' tag right when they link to the target website. Furthermore, the actual business listing doesn't even link to the website! Let me take, for example, web design companies: http://www.business.com/internet/web-design/ This directory has tons of 'nofollow' links. On top of that, if you take any of the companies listed and do a search for their business page, the business page doesn't even have a link to their website! That doesn't exactly seem like it's worth $300 a year... Any chance there is something I'm missing here? I'm not fully understanding this, it seems.
Link Building | | CHEATERS0 -
Will redirecting 250 linking domains to a new website from an old website freak Google out?
Prior to my accepting a project, the client decided to change the name of their company and purchased a new domain name to match. They hired a designer to build their new company site which has now been up and running for a little under 12 months. Up to this point they have done a good job of slowly redirecting small handfuls of linking domains from the old site to the new. They want to make one last push and point the remaining 250 linking domains from their old site to their new site. Will redirecting 250 linking domains to a new website from an old website freak Google out? If so, how many domains should be redirected at one time? My main concern is not wanting to upset Google and see the floor fall out on current keyword rankings, domain authority and page rank, etc.
Link Building | | 5outhpaw0 -
Are backlinks to a domain that redirects useless?
I am working on trying to get backlinks. We are currently redirecting a few Domains to our current domain name. One of the Domains that is redirecting is the main Domain, we will be advertising in the near future. Can I send backlinks to the redirected URL or does it only carry link juice if it is to the main Domain?
Link Building | | hfranz0