View Full Version : How To? Redirect website visitors automatically-
goldclub
Jan 1st 2008, 1:29 pm
Hi,
Can anyone advice me the simplist way to redirect vistors form my website to my affiliate's webpage without typing in a long URL: ending with ? affiliate code, i think its a php code, Please help this Newbie: !!
Kind Regards
AA
goldclub
Jan 1st 2008, 1:30 pm
i wish i could help you, but i don't know myself -HEY someone help him out!!!!!
You mean like the visitor is going onto a site and automaticaly getting redirected ?
If it´s like that then i´ll quote of my friends post on my forum.
Well, I think this is really a nice script and can be used to redirect from a page to another. I used this many times :P
HTML version (you must put this within the <head></head> tags:
<meta
http-equiv="refresh" content="0; url=your new address.html">
content=0 is time in seconds that the page will wait untill redirect you - so change it to any time you want
url= is the redirection (destination) URL
the file mast be saved like HTML document (index.html for example)
PHP version:
Create a new document and change it's extension to PHP file. Name it index.php
Now open it with notepad and paste this code:
<?
echo ("<meta http-equiv=\"Refresh\" content=\"0; URL=redirection URL here\"/>Your Are Now Being Redirected");
?>
as you can see it's almost the same as HTML code
change the content= fieled to whatever you want in seconds and URL= to your desired destination URL
Enjoy :cool:
goldclub
Jan 1st 2008, 1:51 pm
Hi All,
Thanks very much div, that was a quick reply, am starting to like this forum. :-)
al try it out now.....
Many thanks once again......
AA
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.