i've got this code in my .htaccess:
RewriteEngine On
RewriteRule ^(.*)$ /1/index\.php?user=$1 [R]
this is in the root folder. when someone goes to any folder in the root it should diverts to /1/index.php?user=foldername.
why doesn't this code work?
secondly, how can i make it so that certain folders do not get redirected (namely the root folder)?
thanks again!
😕