Nov
16

How to Create a Redirect Link

Posted by: Julia Kline | Comments Comments Off

This is a super-techy topic; but I’ve had a few requests for it so here we go!

Let’s say you have a long ugly affiliate link, or even just a sub-sub-page on your own domain you want to send people to, and you want to be able to give them a short, easy-to-remember URL instead.  In our example we want to send people to www.GreenIslandMarketing.com/DailyMaintenance.

Start by creating a folder called Daily Maintenance on your domain.  (case sensitive, BTW)

Then copy the following script into a .txt document (using your Notepad application):

<?php header(“Location: http://www.yourwebsite.com
“); ?><html><head><title>redirect</title><meta
http-equiv=Content-Type content=”text/html; charset=iso-
8859-1″></head><body></body></html>

Replace the URL (http://www.yourwebsite.com) with the link you want to re-direct.  In other words, your long ugly affiliate link, or in this case the sub-sub-page on our own domain you want to send people to.

Save the entire thing as index.php, in the folder you created at the beginning.  (For “save as type” say “all files” and then type index.php as the file name).

Now when you type www.GreenIslandMarketing.com/DailyMaintenance into your browser window, it will re-direct to the page with the long ugly URL.

Stay connected!

So you’ll never miss any of our articles or tutorials.

Name:
Email:
Submit the form, then check your email
& click the confirmation link!

Categories : 60 Second Solutions
Comments Comments Off