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!
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
-
Backlinking and Redirect links
Can anyone please explain the real difference between backlinks, 301 links, and redirect links?which one is better to rank a website? i am looking for the help for one of my website lottery
Link Building | | murataft0 -
Nofollow links can hurt site rankings ?
can irrelevant nofollow links hurt site rankings? our website is about selling perfumes ... https://janraber.com/
Link Building | | hiseo770 -
Does a nofollow link from a high DA site count towards trust?
I've been checking out competitors through the 'link intersect function in my Moz account. Many have got nofollow links from high DA websites. I understand that nofollow links do not count count as a backlink, but will they add towards the trust factor?
Link Building | | ThorUK0 -
Nofollow affiliate links?
Hi Guys, Simple question. Should I nofollow affiliate links on my site. Will it help SEO at all?
Link Building | | SamCUK0 -
301 redirect of PR 6 domain to PR 1 site, Will it improve my site's seo?
I have a pagerank 1 website but i recently purchased one old pagerank 6 domain, if I 301 redirect this pr6 domain to my currrent pr1 site, will it will increase my site's pr and improve seo ?
Link Building | | IndiaFPS0 -
301 redirect on yahoo hosting
Hi, I was wondering if anyone could lend some advice to getting a 301 redirect on yahoo web hosting; I spoke with someone in SEO and they referred me to a site that had step by step instruction, the only problem is that was for the yahoo store, my business is not e commerce rather a service website. I was wondering if anyone had the same problem, some say that Yahoo does not offer "301 redirects" on their hosting, however, they say there are methods to cirumvent that, my site is html. Any suggestions would be great - thanks best regards, James C
Link Building | | jimmy02250 -
Are .edu links really better?
Getting .edu links seems to be the Holy Grail for many SEOs and link builder. I understand how difficult it can be to get a link from a .edu domain that happens to cover topics in your industry. What I am wondering is, has there been any studies/tests to determine if .edu links are more powerful that a link from a trusted/relavant .com? All things being equal (DA, PA, etc.), is the .edu better? What if the .com has slightly better metrics, is the .edu still better for SEO? I haven't been able to find any expert blog posts about the added value.
Link Building | | inhouseseo1 -
Do you get linkjuice from a dofollow redirect (Like Yahoo! Article links)?
I've recently hired a company that publishes my press releases for me. One of them is on Yahoo! Finance. When I went to the Yahoo article, my keyword link was dofollow, but had a very long Yahoo redirect link instead of just a direct link to my page. Am I still getting link juice out of this Yahoo redirect?
Link Building | | Shawn1240