Ok, back to affiliate marketing… I am sure there are tons of tutorials about how to do redirects and such but this is my journey and something that I recently learned how to do. I have a code for php as well as html. You can use either one, I don’t care…
For html code: The website in bold is where you delete and add your site.
<html><head>
<meta http-equiv=”refresh” content=”0; url=http://www.minisitesecretsrevealed.com/offer-code/15078“>
</head></html>
- Highlight the code above and copy (CTRL-C) it to your clipboard.
- Open a blank text file in Notepad.
- Paste (CTRL-V) the code into your text file.
- Save the file as “minisitesecrets.html”
- Upload the file to your webhost.
- Now direct people to your new file – http://www.YOURDOMAIN.com/minisitesecrets.html.
(NOTE: Be sure to test your redirect file before using it in any promotions.)
For the php code:
<?php
/**
* Place in a blank PHP page
*/
// Change to the URL you want to redirect to
$URL=”http://www.YOURSITE.com”;
header (“Location: $URL”);
?>
For this I created a folder call “recommends” and uploaded to the root directory of my main domain name. Then I created a php file with that code and saved as “whatever you want”, then uploaded that into that “recommends” folder. Thats it.
If you have any questions on how to do this just let me know via the comments… thanks!










27. July 2008 at 8:57 pm
nice tips.. thanks for the tutorials