How do i redirect the base url using htaccess?
I have a URL structure of:
and want to redirect only the base URL which is:
mysite.com/users/ or mysite.com/members/
But the problem is when i add this line to htaccess.
redirect 301 /user /users/
gets redirected to
How can i redirect /user/ only?
RewriteEngine on RewriteBase / RewriteRule ^user/$ users/ [L,R]