I know how to rewrite urls to redirect to a page.
When the "/" is not at the end of www.DomainName.com/user/myUserName the redirect works:
RewriteRule /$ /user/index.php
When I write RewriteBase / the above rule does not work, but a 404 error.
How to add a
"/" at the end of w
ww.DomainName.com/user/myUserName/ and still redirect to /user/index.php.
This can be written into the .htaccess or httpd.conf