how can I redirect such link to another link? i would like to redirect : http://xxx.com/download.php?uid=28HRJYKN to http://xxx.com/delete.php how can i do that? thx
Try this in your .htaccess URL rewrite rules <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^download.php?uid=28HRJYKN/?[1]$ delete.php [L,NC,QSA] </IfModule> PHP: Lemme know if it works.
Three suggestions and none of them 'wrok'? Are you sure you're trying hard enough? Meta refresh should work on any server.
<meta http-equiv="refresh" content="2;url=http://xxx.com"> how to do Meta refresh ? i just want to redirect the following link, http://xxx.com/download.php?uid=28HRJYKN to http://xxx.com/delete.php how can i do that?
I think I made a mistake that was to direct to a folder. Anyways try reading: http://www.webweaver.nu/html-tips/web-redirection.shtml Good luck.
becasue it is not folder or file like .php, it is a link download.php?uid=28HRJYKN so I really don't know how to redirectly it.. anybody knows?thx
Since you are using PHP, 1. Open your download.php 2. Add this line on top, after <?php if ($_GET['uid'] == '28HRJYKN') { header('location: http://xxx.com/delete.php'); exit; } PHP: - ads2help