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
-
Nofollow links with high spam score
Hi All, Is it worth setting co-operation with website that has incoming links with spam score 96% despite the fact they're mostly nofollow? From my understanding there's still connection set between websites bit no negative impact on my SEO profile. Am I right? Thanks for all opinions.
Link Building | | Optimal_Strategies0 -
Redirecting dofollow, high-domain-authority links from one site to another: good idea?
I have two sites that offer help for freelance writers. The first gets almost no search traffic and is very low priority for me. The second is my main priority and gets substantial search traffic. The low-priority site has a significant number of dofollow backlinks from high-domain-authority sites. Is it a good idea to 301 redirect these links to similar/related posts on my high-priority site? Would this potentially boost the SEO of my high-priority site? Thanks for any help!
Link Building | | John88990 -
Is it better to develop a good keyword I found on a new page on an established website or make a new site?
So I found a keyword that I want to go after, it gets over 30k searches a month, has a 100% CTR and has a difficulty of 42. Now my question is would it be better to build a page on our already established site (DA of 46) since the site and keyword are both related. Or would it be better to get a domain of that keyword and build a small site about it? The .com is taken but I could get a .co or .us just not sure if its worth making a new site or if I should just build a page on my current site about it.
Link Building | | americancasinoguide0 -
Authority redirection - 301
Hello! Could you please help me out with below? For example i have a domain www.domain1.com which has authority of 50... and i set redirect 301 to www.domain2.com will the second domain receive first domains authority and rankings? Thanks in advance!
Link Building | | irakli.chkheidze0 -
Instructables site - follow and nofollow
Hi, I haven't been able to find a clear answer to this issue yet, so I'm posting here for help. I have just created a profile on the site Instructables - http://www.instructables.com/ as well as an article. The issue is that I could find most of the published articles there have follow links in them - e.g links under materials: http://www.instructables.com/id/How-to-Make-a-Reclaimed-Industrial-Coffee-Table/ - however mine is attributed nofollow links. I simply don't know why this is or if there is a way around it to get the links followed. This question only relates to the links in the articles, not the profile links - which are followed. Anybody knows? Thanks, Alex
Link Building | | alexddseo0 -
Are there benifits to aquiring domain names with keywords of a niche site and redirecting them to the niche site?
I f i purchased a domain with keyword another one of my sites targeted and redirected it to that site are there benefits in doing so? & as long as the domain contained the keywords would it matter if the domain name contained another word?. also would it be better to put just a few articles on the site and then point keywords in the article to the niche site?.
Link Building | | askshopper0 -
Two link building proposals, which one is better?
Hi there, Our site has a DA of 73, MozRank 5.40, MozTrust 5.88, and over 45,000 external links. We haven't done any offsite SEO before, we got to where we are today organically. We're thinking about hiring a link building firm to help increase our rankings and we've received two proposals. Firm A offered to build us 30 links from DA 50+ sites over 3 months. The anchor text will most likely just be our domain name. Firm B offered to build us 90 links from PR2+ sites over 3 months. They have control over the anchor text. Given our site's profile, which proposal makes more sense for us? Would either of these initiatives move the needle for us? Thanks.
Link Building | | anonp1 -
Is it Better to Link to an Article or Post it on my Site?
I have a client who has a few articles written about her and posted on different news-related sites. She has asked me to capture these articles (we have permission) and create a section on her site for them. My question is this... From an SEO standpoint, would it be better to link _to the _articles, post them on her site or both? Or, maybe there's an even better way I'm not thinking of. Your advice is greatly appreciated. Thanks, Kirk
Link Building | | kbates0