Acmlm's Board - I2 Archive - Programming - dynamic url redirects
User | Post |
BGNG
Posts: 128/276 |
If you're using IIS, you can change file properties from the IIS Control Panel (in Administrative Tools in the Control Panel) and make them a redirection, as shown below:
|
Ramsus
Posts: 132/162 |
In your .htaccess file:
RewriteEngine On RewriteRule ^status-id([0-9]+).png$ /status.php?id=$1 |
Xtreme984
Posts: 111/111 |
how can I set up my webserver so I can make it do dynamic redirects like:
http://domain/status-id1.png = http://domain/status.php?id=1 http://domain/status-id2.png = http://domain/status.php?id=2
and so on. I know this involves using .htaccess but don't know how. |
|