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
-
Linking out: Follow vs. Nofollow
When linking out to other sites, such as resources on .gov pages, should I use follow or nofollow links?
Link Building | | AHC_SEO0 -
Total Exact Match Anchor Text Percentage or a Few High Quality Exact Match Backlinks, which is better?
Hello, I was wondering if anyone could help me. I am trying to rank a web page for a competitive regional search term. Upon inspecting all the competitors’ backlinks they appear to using an overly high exact match anchor text to rank on the first page for this keyword. Somewhere in the region of 15 – 55% exact match anchor text. So the question is what does big G provide a heavier weighting for, A.) The total percentage of exact match anchor text for all your backlinks, until it reaches the point of over optimization. A higher percentage up to about 60% will help you rank in the top 3. Meaning I should change a 1,000+ backlinks on multiple domains to the exact match anchor text. B.) Or just a few backlinks with the exact match anchor text but from really high quality domains with a ‘Majestic SEO’ Trust and Citation Flow above 40. Any help would be appreciated, exact match anchor text is meant not to work but it still does.
Link Building | | tomfifteen0 -
Phone Call or Email Better
Hello, I had a Moz associate look at our niche, and he suggested using phone calls and emails for outreach. We are marketing an article that appeals to the humanitarian side of the organizations and companies we're contacting. We're contacting sites that are already listing useful articles. When you have the choice between a phone call or an email for outreach, which do you choose? The emails would be personalized, to a specific person when possible, and letting them know that we are a reciprocator by sharing across social channels and/or blog post commenting for them. The phone calls would be to the companies' general contact numbers. Which do you do first?
Link Building | | BobGW0 -
Dofollow 2 nofollow
hi everyone, if i have a dofollow link pointing at me from website A and also i have a nofollow link pointing from my website to website A do they cancel each other out? or is it only if i have dofollow to dofollow?
Link Building | | amoseshet0 -
Redirect a 404 page
Hi We encountered a problem with our site during a migration to a new platform and we lost much of link juice. I have noticed on SEOmoz Open Site explorer that our old urls from the old site still exists and many have high page authority. The urls all redirected currently to a 404 page and it is not possible to retrieve the old information For example this page http://www.featuredeco.co.uk/mall/departmentpage.cfm/FeatureDeco/_71989/1 This has a page authority of 32. Is it possible to retrieve the link juice from these pages and channel it on the Kind regards Paul
Link Building | | prano0 -
Thomasnet NOFOLLOW Links?
Is it just me or does http://www.thomasnet.com only have nofollow links across the site now?
Link Building | | poolguy1 -
What link would be better?
Okay, I found a niche blog that has a google PR6. They have a ton of dollow blogroll links, as well as a ton of internal links on homepage. Would I be better off getting the blogroll link? Getting a link in an existing post with a lower PR? Getting an advertiorial written with a link in it? I just don't know. It has a domain authority of 33 currently. It's not a cheap link for blogroll. The in-post, or advertorial isn't too bad, but not cheap either. Thanks in advance.
Link Building | | azguy0 -
301 Redirect Domains with old links
I came across a nice discovery of about 20 old domain names that each have many root domains and a bit of DA. I want to know the best way to utilize them without any type of penalty. Currently, (as of an hour ago) I am 301 redirecting all of them to the most relative pages on a single domain. Will i get the majority of the link juice from the domains? I'm excited to see what will happen here. Thanks in advance, Daniel
Link Building | | seoninja200