Create Your very own PHP Redirect!

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:

<html>
<head>
<title>Yahoo redirect</title>
<meta name=”robots” content=”noindex,nofollow”>
<script>window.location=”http://yahoo.com”;</script>
<meta http-equiv=”refresh” content=”1; url=http://yahoo.com”>
</head>
<body>
<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>
</body>
</html>

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.

Yahoo redirect

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!

Donald

Donald

Creator of SFB, eBay Stealth and Amazon Ghost at aspkin

¯\_(oo)_/¯ My Recent Works –> eBay Stealth, Amazon Ghost, AutoBlogBook, SixFigureBoss

Donald

@aspkin

Serial Digital Entrepreneur.
https://t.co/LQ8chSKKBV

@FloydDetroit 2-3 delivery my ass.. 3 weeks later and still waiting. – 4 weeks ago

Donald

Donald

Latest posts by Donald (see all)

Posted on by Donald in How-To

Leave a Reply

Be the First to Comment!

avatar
wpDiscuz

FREE! The eBay Stealth Mini Guide

FREE! "The Secrect Step-By-Step Guide EBay And PayPal Does Not Want You To Read That Is Guaranteed To Get You Back On EBay In Just Minutes..."

We will never rent, share, or sell your information with any 3rd parties.

Close this popup

  • Get back on eBay and PayPal Today
  • Step-by-Step easy to read guide
  • Learn to be Fully Anonymous
  • Create Multiple Accounts Safely
  • Prevent Account Linking