Forum Moderators: phranque
Since it is setup like example.com/file.php?id=1111, many servers wont allow this so I need something that will allow them to put in something like example.com/1111.gif (or .png) and work the same way. How do I do this?
I'm new to mod_rewtire, but I can try to answer you, and if I'm wrong, gurus can correct me :)
So, try to add following thing to the .htaccess
RewriteEngine on
Options +FollowSymLinks
RewriteBase /
RewriteRule ^([0-9]+)\.(gif¦png)$ file.php?id=$1 [L]
And remember to replace this ¦ with correct OR sign
Cheers,
Alex