can u tell me how to put redirects in php like if I have a site www.redirect.com and if someone entered www.redirect.com/index.php?link=www.putfile.com then i want the user to be redirected to www.getfile.com
you probably mean a redirection to www.putfile.com and not www.getfile.com? if($_GET['link']){ header('Location: '.$_GET['link']): } PHP: Something really basic, but the header shouldn't be sended already.
I meant getfile only I know till you gave for egs:-if its www.something.com/down/11231 then i need to www.something.com/start/11231 All I want is to know how to extract the 11231 from first link then I can merge it with the second link Any way thanks
modrewrite can do that for you RewriteEngine On Options +FollowSymlinks RewriteRule ^(down)/([A-Za-z0-9-]+)?$ http://www.yoursite.com/start/$1? [R=301,L]