Affiliate Links: Hide Them to Improve your SEO
You may be using affiliate promotion to advertise some products on your blog. If you are not, you definitely should check the Affiliate Networks listed in my sidebar to find some great opportunities to make money from your blog. Unfortunately, due to some abuse performed by affiliates, Google and other search engines don’t really like sites who are promoting affiliate offers. Hence the need to hide your affiliate links to improve your WordPress SEO.
The problem came from some affiliates who are building websites filled with affiliate links. And the purpose of these website is only to get the commission, but it doesn’t bring any additional value to the web surfer. Due to these websites, affiliates tend to have a bad reputation. However, there is some huge money to be made through affiliate marketing.
Moreover, people tend to become suspicious when they see an affiliate link because they suspect your opinion will be biased by the commission you will receive if you make a sale. So you probably prefer if it’s less obvious.
I am currently using 2 ways to hide my affiliate links. I have already developed the first possibility in a previous post called “Free WordPress Plugin to have nice clean Urls Redirects”. This allows you to keep all your link redirection in a single place.
For some reason, I also like to handle manually some of my redirects. To do that, I created a folder named
/go/ in the root folder of my blog. Then for each new affiliate link, I create a PHP file in which I paste this code:
<html> <head> <title>Affiliate 1</title> <meta name="robots" content="noindex,nofollow"> <script>window.location="http://www.affiliate-site.com/link";</script> <meta http-equiv="refresh" content="1; url=http://www.affiliate-site.com/link"> </head> <body> <p align="center">You are being taken to another website. <br>If the page does load after 5 seconds, <a href="http://www.affiliate-site.com/link">click here</a>.</p> </body> </html>
Of course, you should update
Affiliate 1 with the destination name (it will be visible to your visitor) and
http://www.affiliate-site.com/link with your affiliate link. Once the file is updated, save it with a relevant name. Then, whenever you want to link to
Affiliate 1 website, I would link to
When you're learning search engine optimization, you need to understand that the very first step is to create a website. If you're interested in starting your own blog, I have written a step-by-step guide that will show you how to start a blog for as little as $3.49 per month (this low price is guaranteed only through my link). You will also receive your own domain name for free ($15 value) by clicking on this link and purchasing at least 12 months of hosting with BlueHost. Keep in mind that if you're learning how to optimize your website, the first thing you need is your own self-hosted website. It will help you look more professional in front of your visitors, clients, companies, and everyone else, including search engines.