quote:
Originally posted by Absorbation
about using mod_rewrite
In a .htaccess file, in the www/public_html root, put:
code:
RewriteEngine on
RewriteRule ^([a-zA-Z0-9]+)\.php$ /index.php?id=$1 [L]
This will grab anything like /La1a.php and actually run /index.php?id=La1a (but people won't see the index.php part).
Take note that if you don't have mod_rewrite, it won't work (you'll get error 500).