Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - dynamic url redirects | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Xtreme984 Koopa Level: 18 Posts: 111/111 EXP: 25164 For next: 4733 Since: 07-27-04 Since last post: 116 days Last activity: 58 days |
| ||
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. (edited by Xtreme984 on 07-08-05 05:20 PM) (edited by Xtreme984 on 07-08-05 05:20 PM) |
|||
Ramsus Octoballoon Level: 19 Posts: 132/162 EXP: 34651 For next: 1126 Since: 01-24-05 From: United States Since last post: 39 days Last activity: 71 days |
| ||
In your .htaccess file: RewriteEngine On RewriteRule ^status-id([0-9]+).png$ /status.php?id=$1 |
|||
BGNG Snifit Level: 22 Posts: 128/276 EXP: 56579 For next: 1771 Since: 06-03-05 Since last post: 8 days Last activity: 3 hours |
| ||
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: |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - dynamic url redirects | | | |