Forum Moderators: phranque
[mydomain.com...]
and
[mydomain.com...]
but I couldn't find a way to do it.
I was able to do this:
RewriteRule (.*)/ [mydomain.com...]
but this only solves the first part of the problem. How can I do to make the "add" part work too? I've tried something like this, but it doesn't work:
RewriteRule (.*)/(.*) [mydomain.com...]
Any ideas?
RewriteRule ^([^/]+)/([^/.]+)/?$ /add.php?u=$1&action=$2 [L]
RewriteRule ^([^/.]+)/?$ /user.php?u=$1 [L]
For more information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].
Jim