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
-
Does redirected traffic still contribute to SEO?
My company recently rebranded with a new website (and comparatively lower authority). We've built a bunch of backlinks for our old website, which now redirect to the new one, and I was wondering if these still contribute to SEO? Is there a difference in the SEO effect of a direct link versus a redirected one?
Link Building | | Russell_Chua0 -
Backlink Help - Contact Site Owners or 301 Redirect?
Hi, I am performing some backlink updates for a client and would like to know if I can speed the process up. Currently I am contact site owners and asking them to update the links that appear on their website of my clients. As this is tedious work, can I just setup 301 redirects for these products instead of contacting site owners and asking them to change the URL? Is there any benefit to having the proper URL on other websites? Thanks in advance!
Link Building | | KarenNelson0 -
Asking a site to remove a "nofollow" on a link to our client
Hello, We created a good infographic for a client of ours and a large tech site (DA 86) picked up and ran a story on it. We didn't contact this company asking them to feature it, they have just picked it up through other shares around the Web. I understand that, at the end of the day, it's their prerogative whether to "nofollow" their links or not, but surely they should be giving our client some credit as they have clearly deemed the graphic newsworthy and felt that it would appeal to their readership. I've emailed said tech site, but to no avail. Does anyone have any advice on this? Or is it just a case of they can do what the heck they want? I know that our client will still benefit from the additional referral traffic, but a follow link would have been nicer! Cheers, Lewis
Link Building | | PeaSoupDigital1 -
Dofollow VS noFollow
HI What do you think about nofollow links, are they still give rank for domains. DJ
Link Building | | capitanhajs0 -
What backlink is better?
Hi Guys I recently helped out a friend with some marketing advice and to do me a favour back he said that he'll put a link on his site back to my website. Just some background on the site, it is very high quality with DA of 71 with each blog post/inner page having roughly PA of 45, it's been online for 15 years and has nearly 4,000 indexed pages and 10,000 links. Anyway my question is would it be better to get a sitewide link in a sidebar that is displayed on every page of his website or would it be better to write a blog post on the site that links back to mine? Thanks
Link Building | | jackalancurtis1 -
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 36 links from one site to nested pages better than one link to the root domain?
I have a Driving School website www.1stclassdriving.co.uk. The site is structured geographically with 36 area pages, one
Link Building | | Brian_Worger
page per area post code and one page per Driving Instructor. I am trying to develop links and have found a site (da91 pa
63) where I can create area links to each of my area pages if I
wish. Is it best to just create one link to the root page or
should I create 36 individual links to each area page? - which is most valuable?0 -
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