- Messages
- 1,811
- Reaction score
- 7
- Points
- 38
Hey everybody!Im trying to use the friendly URL on my website, and have some troubles with te htaccesI want to convert this www.alejandrom.com/index.php?id=contacto to this www.alejandrom.com/contactoIm using this :
RewriteEngine On
RewriteRule ^([^/d]+)/?$ index.php?id=$1 [QSA]
but doesn't work, and also can convert de index.php?id=contacto to just ?id=contacto but is not the think that i want..Obviously i dont want to do this with one page, i mean want to convert index?id=ANYPAGE to alejandrom/ANYPAGE Sorry for my bad English.
RewriteEngine On
RewriteRule ^([^/d]+)/?$ index.php?id=$1 [QSA]
but doesn't work, and also can convert de index.php?id=contacto to just ?id=contacto but is not the think that i want..Obviously i dont want to do this with one page, i mean want to convert index?id=ANYPAGE to alejandrom/ANYPAGE Sorry for my bad English.