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
-
Does a nofollow link from a high DA site count towards trust?
I've been checking out competitors through the 'link intersect function in my Moz account. Many have got nofollow links from high DA websites. I understand that nofollow links do not count count as a backlink, but will they add towards the trust factor?
Link Building | | ThorUK0 -
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 -
Does nofollow link has any effect on link building
I recently read some article on noflollow link and the author says that nofollow link does have some effect on page rank. Can anyone explain the effect of nofollow link on website ranking?
Link Building | | petwho0 -
How much time does it take for the links to be forwarded to redirected link?
Hi there,
Link Building | | MoeezLodhi
Thank you for taking out some time for this question; I have changed the permalinks last week for a website.. I forgot to redirect old permalinks to the new one.. So I did 301 redirection, it has been 4-5 days since I did that but the links are not forwarded to the new Permalink so far.
How much time should I wait for the links to be forwarded to the new permalinks? Secondly, I am sure I have done the 301 redirect correctly, as when I go to the old url / permalink it directs me to the new permalink. So I am sure 301 is done correctly. Do I need to submit the sitemap again?0 -
Dofollow VS noFollow
HI What do you think about nofollow links, are they still give rank for domains. DJ
Link Building | | capitanhajs0 -
Dofollow OR nofollow for internal links
We recently changed our wordpress site and I have noticed that in the new theme all the internal links are set to nofollow. I understand that Google might not decide page rankings based on internal links but isn't it good practice to do a follow on internal links to highlight the relative importance of a page
Link Building | | Advocator0 -
Better to redirect domain or to link from home page?
Hi, I have a niche directory and sometimes clients remove themselves because they have discontinued their business practice. If they sometimes provide me with their own website (as they will no longer use it either), is it wiser for me to: a) directly point their URL 301 to my own directory b) keep their website as is, and add a url link to my directory in their homepage c) keep their website as is, and add an anchored link with the industry keyword to my directory Thanks! D
Link Building | | Demosthenes0 -
301 redirect and how linking domains are counted
I have a domain with several great links to it and I decided to change it to a new domain. I did a 301 redirect to the new domain. My question: Let's say youtube.com is linking to the old domain that is being redirected. Do I want to get a new link from youtube to the new domain as well, or is that pointless since there is already one to the old domain? Thanks,
Link Building | | DavidCurrier
Dave0