So far i have this meta http-equiv="REFRESH" content="5; url=ADDRESS HTML: How would i get the ADDRESS part to grab parts of the url. something like i have a page domain.com/index.html?r=http://domain1.com I want this page to be a redirect page but i want it easy so all i have to do is just add the link to the address or something as long as i dont have to make multiple pages. Somebody help much would be appreciated.
That wont work with html but with php it will be like this meta http-equiv="REFRESH" content="5; url=<? echo $_GET["r"] ?> and then u just go to index.php?r=http://domain1.com
Try this <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="refresh" content="<?=$redirtime;?>; URL=<?=$url;?>"> <title><?=$sitename;?></title> <style type="text/css"> html { background: #000; } body { background: #404040; border: 1px solid #666; color: #999; font: 14px "Lucida Grande", "Lucida Sans Unicode", tahoma, verdana, arial, sans-serif; margin: 5% 10%; text-align: center; } a { color: #FF8301; } h1 { color: #EEE; } #container { background: #292929; line-height: 2.4; padding: 1em; } p#url { font-weight: bold; overflow: hidden; width: 100%; } </style> </head> <body> <h1><?=$sitename;?></h1> <div id="container"> <p>Please wait while you're being redirected to ...<br /> <p id="url"><a href="<?=$url;?>"><?=$url;?></a></p> <hr /> <p><a href="<?=$siteurl;?>"><?=$sitename;?></a></p> </div> </body> </html> PHP: i cant give you the full code now.... go online find anon.. script
or throw a header('location:http://www.siteyuowanttoredirectto') ; anybody going to that page will be redirected to the new page without doing .htaccess server redirects