Hi guys! Sorry for not posting in awhile. I’m working on a number of projects that are taking up a lot of my time. Right now it’s like I’m in the eye of a hurricane. And this is my break from the bad weather. While I’m here, I just wanted to post a simple but effective way I use to hide my affiliate links from search engines and make my links look more professional.
The first way I hide my affiliate links is through a PHP redirect.
First thing you want to do is create a new folder called ‘go‘ or ‘goto‘. Just something to place files into later. Then create a new PHP file and paste the following code into it:
<meta name=”robots” content=”noindex,nofollow”>
<meta http-equiv=”refresh” content=”1; url=http://yahoo.com”>
<p align=”center”>You are being taken to the correct page.
<br>If the page does load after 5 seconds,
<a href=”http://yahoo.com”>click here</a>.</p>
Save that file as yahoo.php or whatever you want to call it and place it into the go or goto folder. Upload the folder to your web host, and call the file in your browser.
I created a folder called ‘go’, and in this folder I created the file yahoo.php. You can see it in action bellow.
The good thing about a PHP redirects is if you ever needed to change the URL, all you have to do is edit that one PHP file and you’re good to go. Also by using redirects, when someone goes to click on your link the status bar won’t show the affiliate URL, which is good and may help increase affiliate sales.
Next time I’ll talk about link cloaking. It’s a little more advance, some cloaking better then others. But a necessary if you want to protect your self from affiliate commission theft.
Until next time!