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
-
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 -
How to build links for a domain name that is redirected to another url?
I'm helping a friend build links to his site because he recently moved across country. His primary domain isn't very SEO friendly (shef1.com) so he registered another domain (stephenshefrinphotography.com). Shef1.com has been around for awhile and has at least been crawled with a page rank of 1 so we decided to keep shef1.com as the main website and redirect stephenshefrinphotography.com to it. So for SEO sake I know it's best to at least have a keyword in your URL so I have been using the url stephenshefrinphotography.com in my link building efforts for local directories and blog comments. Is this the right way to go about this or should I be using the main url shef1.com? He had virtually no backlinks until I started helping him but the ones I have created over the last month are not showing up on the link analysis in my campaigns. I just want to make sure my efforts aren't in vain. Advice please. Thanks!
Link Building | | mrsmelmitch0 -
Using a temp redirect or a link to another domain.
Helloooooooo (hey, we're in SEO...surely we need some sound effects as told in dramatic word elongation?) //First - background. I work on a site that does pretty well with search visibility naturally (by 'naturally', I mean it didn't need a lot of optimisation due to the relationships it has with its link network). I work on a site that sells a particular product - green widgets will do - as part of its verticals. Traffic to this section is great, and tends to convert rather well. These green widgets, however, are also part of another site that's part of the client I work for. The larger company was interested to understand what would happen to their conversions if these green widget visits were sent to them instead of staying on-site (namely, that's because they turn a bigger profit over there). So they set up a link on the page on my site to a landing page on theirs. Sure enough, conversions stayed the same on their site, and showed there may be value in keeping that flow active. //Second - question. I see a few options which mainly revolve around not changing anything, but the bigger part of company wants to see that change. My question is this: long term, should I keep the green widgets section of my site there, and use a link that goes to green widgets on the other site, or should I 302 it until they decide on what they want to do with the relationship between the sites? I know...a bit convoluted, but I'd love to get some ideas on what others have experienced in these situations, and what kinds of outcomes can help both sites remain strong. Thanks a ton, guys.
Link Building | | aroach0 -
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 -
Do NOFOLLOW backlinks have ANY value? or did I waste money?
So, I hired a helping hand to create some back-links for me (in form of comments on some blogs and forums etc) About 60% of those links created are using "nofollow" attribute in the link. Is there ANY - ANY! value in creating such links? or is just wasted time and money and Google will absolutely not give any love for NOFOLLOW links? please share you insight. thnak you.
Link Building | | limens0 -
What pages to nofollow?
We are doing a homepage redesign on our site and as I was going through the code I noticed no links are nofollow links. We have pages such as policies, contact us, links, about us and FAQ that we are not really concerned if anyone visits or if they are indexed. Would it be smart to nofollow these links? Also what other types of links would you recommend we no follow? We would like to get as much link juice as possible to our top categories, but don't want necessary pages to get forgotten. Also, do links higher up on the page get more link juice than items on the bottom of the page? Any knowledge or suggestions on the topic is greatly appreciated!
Link Building | | ClaytonKendall0 -
Will Google penalize for redirects related to a company merger?
Company A is set to acquire Company B. As part of the merger agreement, Company A will be redirecting the linking domains of Company B's website (over 1,000 links) to company A's website. Will Google penalize Company A for redirecting Company B's 1,000 linking domains to Company A's website at one time? If so, would it be better for Company A to redirect Company B's 1,000 linking domains in waves?
Link Building | | 5outhpaw0 -
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