AaZmaN Posted September 29, 2008 Share Posted September 29, 2008 Hi everybody! Hope anyone had this problem and knows the solution... I am trying to rewrite the address as follows: RewriteRule ^([a-zA-Z.]+)/?$ index.php?req=$1 [L] I need this to rewrite the address 'mydomain.com/some.category.' to 'index.php?var=some.category.' (with trailing '.' dot) Everything works fine except the trailing dot is dropped. The $var variable is without dot from the end. Does anybody know why it is dropped and how to fix it? Quote Link to comment Share on other sites More sharing options...
corbin Posted September 29, 2008 Share Posted September 29, 2008 Try RewriteRule ^([a-zA-Z\.]+)/?$ index.php?req=$1 [L] Doubt that's it but worth a try. Quote Link to comment Share on other sites More sharing options...
AaZmaN Posted September 30, 2008 Author Share Posted September 30, 2008 Try RewriteRule ^([a-zA-Z\.]+)/?$ index.php?req=$1 [L] Doubt that's it but worth a try. It doesn't help... the dot in a class definition doesn't have any special meaning... I tried it however.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.