maUru
asked on
just another mod_rewrite Q
sorry about this but im tired and in no mood to think.
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^(.+)$ /dealers/handler.php?name= $1 [QSA,L]
why wont that work
alli want is to change www.domain.com/blabla into www.domain.com/dealers/handler.php?name=blabla
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^(.+)$ /dealers/handler.php?name=
why wont that work
alli want is to change www.domain.com/blabla into www.domain.com/dealers/handler.php?name=blabla
ASKER
nope doesnt work
RewriteEngine On
RewriteRule ^/([0-9a-zA-z]+)(/)?$ /dealers/handler.php?name= $1 [QSA]
works for me...sorry.
RewriteRule ^/([0-9a-zA-z]+)(/)?$ /dealers/handler.php?name=
works for me...sorry.
ASKER
show me a website that its working on.
http://www.d4ly.com/whateveryoulike
you may need to remove the first slash:
RewriteEngine On
RewriteRule ^([0-9a-zA-z]+)(/)?$ /dealers/handler.php?name= $1 [QSA]
you may need to remove the first slash:
RewriteEngine On
RewriteRule ^([0-9a-zA-z]+)(/)?$ /dealers/handler.php?name=
ASKER
yep took off the slash and it messes up my site now...500 error...any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
RewriteRule ^/([0-9a-zA-z]+)(/)?$ /dealers/handler.php?name=