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!
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
-
301 redirect backlink
Hello, My website is brand new! I am planning to do have some 301 redirect backlinks. Is it safe in terms of SEO ? Do i have any SEO benefits? let me know. Thanks
Link Building | | EchoMartinez1 -
Back link from site with DA of 72 to a website domain. Clicking on the link redirects to our website not the attended one.
Hi,
Link Building | | JIMBO16
I've ran a back link check and discovered a good back link to a site which then gets redirected back to my company's website. I have a feeling that an old SEO agency has purchased a small website which has a decent link back from a relevant organisation with a high Domain authority and then redirects the domain to our website to get the link juice. What are your thought on this? Is this really bad practise and possibly damaging? Thanks, Jim0 -
Are links from charities really better than 'normal' links.
Hi Guys. Just wondering about this idea that links from Charities are particularly good. I've heard people say that links from .org sites are particularly strong. But anyone can get a .org domain, it's just that charities tend to use them more often. Right? I just don't get the logic. Can anyone give more detail about this? Is it a myth? Is there quality info on this topic I can check out? We're working with several charities at the moment, and they all seem happy to blog and link to us...so I just wanted to know a little more. Isaac.
Link Building | | isaac6630 -
Why do I have so many nofollow links? I have never created one!
www.sylvaniachurch.com shows over 14,000 nofollow links, but I have never deliberately created a nofollow link. How, then, did I collect so many?
Link Building | | cbizzle0 -
Switching CMS and want to redirect links
Hi guys, I have a site that I run which has been around for a little while. It is actually in phpnuke, it also has a phpbb forum.. The site is so customized that I need to move it to something newer. So I am moving it to Joomla. I created a new domain just to get the joomla site created so I can move it to the main domain. My question is this. How should I go about switching from phpnuke to joomla without losing the links that are going to my site. Also, where can I find the links that are pointing to my site? Thanks for looking.
Link Building | | trumpfinc0 -
Tons and tons of nofollow links
Ahrefs is showing that I have 1,278 no follow links. Many of these are from a site that I'm totally unfamiliar with (growmap.com) and don't see any reference to my site on. Perhaps I left a comment on it at some point? But more than 800 of my nofollow links are from this site. Is this going to hurt me? Thanks. My url is http://www.farnorthkennel.com if curiosity comes about.
Link Building | | Joshlaska0 -
Follow or Nofollow?
Hi all, I have a question, which I can not figure out the answer to. I have a web site which collects sporting news articles so that users need only to go to one site to check news about a subject instead of going to all sorts of sites. On the site I simply link out (to over 300 sources). My question is: The links (I have thousands and thousands per day) should they be follow or nofollow? Do I gain anything by having them set to follow. Or do I lose anything by setting them to nofollow? The site is http://www.holdnyt.dk - if you want to see how many links are per page and so on. -Rasmus
Link Building | | rasmusbang0 -
How can I reduce nofollow links to get better rankin?
In my campaign there are lots of nofollow links while my competitors dont have those links and they are better ranked in search results. What should I do to decrease thos nofollow links?
Link Building | | tanveers0