View Single Post
Old 04-26-2010, 04:03 PM  
StariaDaniel
Confirmed User
 
Join Date: Oct 2007
Location: Netherlands
Posts: 415
Quote:
Originally Posted by KickAssJesse View Post
RewriteRule /(.*)/ index.php?id=$1
Quote:
Originally Posted by V_RocKs View Post
RewriteRule ^([A-Za-z0-9-]+)/$ index.php?id=$1 [L,NC]
You can do it by just adjusting the pattern to "everything except for /"

Like:
Code:
RewriteRule ^/([^/]+)/?$ /index.php?id=$1 [L,NC]
StariaDaniel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote