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
-
Redirecting broken backlink to my site
Hello guys, I found an expired domain with inbound links from 41 different root domains, almost all of them from relevant sources. I have 2 ideas in my mind: A) I am thinking about buying this expired domain and place a 301 redirect to a post in my blog who talks about a similar subject.Relevance: let's say the content of the expired domain is about "horses wallpapers" and the content of my site is about "horse transport". Not the same, but a post in my blog could talk about "top 10 horse wallpapers". Do you see what I mean? B) Contact all the webmasters with broken links, alert them and expect they are nice and place a nice link to the post in my blog talking about "top 10 horse wallpapers". What do you think? Should I take A or B? Any other idea? I added a picture with the Domain Rank of the broken links 🙂 Thanks a lot !!! Luis V1LZBC3
Link Building | | Yeeply.com0 -
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 -
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 -
How can I reduce nofollow links to get better rankin?
In my campaign there are lots of nofollow links while my competitors dont have those links and they are better ranked in search results. What should I do to decrease thos nofollow links?
Link Building | | tanveers0 -
Link Building - Nofollow
Hello It's worth getting links nofollow? It will count for google? For example links from Yahoo! Answers.
Link Building | | eder.machado0 -
Retain keywords with redirect
I manage a site the sells product A and product B (both major keywords for us). If I buy the url www.productB.com and redirect it to the original website, would the original website gain any benefits in search engines? Would the benefits of having a url with the keyword be lessened because there isn't content hosted there, only a redirect to the original site?
Link Building | | livethesource0 -
Has anyone seen positive results from using Submiteaze to submit to directories? I know an SEM agency that uses it for clients' link building campaigns, but I don't know if it is worth buying. Are there better alternatives?
I would like to start a link building initiative at my company for a new website, and would like to know if the value of the links built using Submiteaze would be worth the money.
Link Building | | pbhatt0 -
Nofollow link from page rank 7?
What do you think about a nofollow link from page rank 7? will I see any results? how much is it worth?
Link Building | | DiamondJewelryEmpire0