Using PHP to Redirect Affiliate Links

July 3, 2008

You may have seen many bloggers use redirect pages to send out their affiliate links when people click on their affiliate links. Cloaking your affiliate links to prevent from having your affiliate links hijacked. Your affiliate links can be hijacked. There are malware, virus, etc. out there that many people have on their computers without even knowing that will detect when an affiliate link is clicked and replace your affiliate ID with the hijackers.

First set up a directory on your server for your redirect pages to go. To make it easy I recommend creating a directory simply named “go” (i.e.: www.yoursite.com/go/).

This is how to create redirect page for your affiliate links by using a PHP script.

<html>

<head>

<title>TITLE</title>

<meta http-equiv=”Content-Language” content=”en-us”>

<meta name=”robots” content=”noindex, nofollow”>

<script>window.location=” your affiliate url“;</script>

<meta http-equiv=”refresh” content=”1; url=”your affiliate url“>

</head>

<body>

<p align=”center”>You will be taken to the correct page shortly.

<br>If this page does not load after 5 seconds, please

<a href=”your affiliate url“>click here</a>.</p>

</body>

</html>

Just copy and paste on NotePad and change 3 “your affiliate link” to your affiliate link URL. After that save the file with an easy to remember name that ends with .php. Upload this new file to the “go” folder on your server.Your link will look something like this http://www.gettycash.com/go/tla.php

Whenever someone clicks on your disguised link (http://www.yoursite.com/go/website.php), they are going to be redirected to your real referral link. :D

All in One SEO Pack Plugin

June 3, 2008

All in One SEO is a must have plugin. This plugin is SEO friendly, it helps your Wordpress blog get indexed easier and will help alot in the search engine rankings of your blog posts .

Here is what it is capable of :

1.You can change homepage title and post titles easily.

2.You can specific meta keywords for homepage and posts.

3.You can disable indexing of Categories and Archives to prevent duplicate content.

How did I set up my All In One SEO plugin for this blog ?

I checked on these options.

Download All in One SEO plugin.