12-29-2007, 05:05 PM
|
#3 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
...Alternative I use the following syntax:
Code:
RewriteEngine On
RewriteRule ^([^\/]+)/([^\/]+)/$ /index.php?page=$1&id=$2
But for integers you should really tell the htaccess that you're only expecting an integer, as in the above example by bdm.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|