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
-
DA and NoFollow
Hello! Are NoFollow backlinks given any consideration when calculating DA? Cheers!
Link Building | | Buzz-s1 -
MOZ indicates 404 page and 0 backlinks, after 301 redirect. The best redirect solution?
Dear MOZers, I have one concern i would like to ask you.. My website have valuable backlinks to the most important page which is awesome. But, some of those backlinks is old URL which is 301 redirected to the URL I use today. As far as i know 301 redirects pass page rank, so it should be alright. (?) Link i use today: domain.com/awesome-url/ My backlink: domain.com/old-boring-url/ 301 redirected to domain.com/awesome-url/ What bothers me is that in MOZ report (Link opportunities) MOZ indicates my important URL (domain.com/old-boring-url/) return 404. But, it is not true. It is 301 redirected to domain.com/awesome-url/ and it works! I am worried i am losing important link juice here(!?) Also, my On Page Grader tool for domain.com/awesome-url/ reports 0 backlinks. And that is not true! I know exactly which websites are linking back, only problem is that those website are using old URL (domain.com/old-boring-url/) to link back to my website. Am i doing something wrong? Is there a better way to redirect and save valuable link juice for my page? Thank you very much! PS The URL was changed in March 2015.
Link Building | | Chemometec0 -
Nofollow links exchange
Hi guys, I'm studying Seo for the first time and I'm really passionate about it. Only one simply question. Assume that I'm cited in a blog with the same PR of mine and I want to say thanks by recite the blogger in my blog. I know that If two blog backlink each other the pr juice is equal to zero. But If the other blogger link me with dofollow and I link him back with nofollow, does my blog take benefit from the link exchange? Thank u very much and sorry for my medium level english 😉
Link Building | | Italianseolover1 -
Should I disavow nofollow links?
I've found a bunch of nofollow links with the help of Link Detox. Now, should I disavow such links (after contacating site owner directly and unsuccessfuly) or i can just filter my nofollow links and handle dofollow ones only?
Link Building | | VinceWicks0 -
The better my blog gets, the lower my rankings!
My blog was hit by Google Panda on July 21. My rankings dropped dramatically overnight. Nothing I do is helping. In fact, the day my guest post was published on one of the biggest blogs in my niche (DA over 70) my Google impressions dropped to an all time low and then got worse. (250 impressions and 12 clicks) You can see the first drop and the second drop in these screenshots and yes Google Webmasters and Google Analytics match. http://tinypic.com/r/2dvtvlj/5 http://tinypic.com/r/4u83t4/5 I am getting more fans, subscribers, traffic etc but my Google traffic just gets worse. I would really like to get some organic traffic! But I have no idea why this is happening. I checked manual actions and there is nothing. I cleaned up crawl errors and duplicate content. I get several backlinks a week within my niche from high authority sites. I just don't get it and I am very discouraged. What should I do?
Link Building | | 2bloggers0 -
Redirect
I have to change few permalinks on wordpress website and I am using yoast seo plugin to redirect the links. My question is should I keep links on the original post or should I delete them. Thank you
Link Building | | VillasDiani0 -
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 -
Redirect
A few pages get a lot of external links and rank well (when site:domain.com) but i do not want that those pages rank well (these are blog pages and we are in E-commerce) Can i redirect these pages to other pages which are more important to me and customers because google see only the link or is google so smart that they see a realtion between the page from which i get the links and to the page in my webste In that case i rename the old pages.
Link Building | | turnon0