I am currently using this .htaccess file for my website,
RewriteEngine On
RewriteRule ^u/([^/]+)/[^/]+)/[^/]+)/?$ /index.php?username=$1&content=$2&type=$3 [L,QSA]
RewriteRule ^u/([^/]+)/[^/]+)/?$ /index.php?username=$1&content=$2 [L,QSA]
RewriteRule ^u/([^/]+)/?$ /index.php?username=$1 [L,QSA]
but i am getting the error
The server encountered an internal error or misconfiguration and was unable to complete your request.
What i am trying to acheive is to turn this url
http://www.site.com/users/index.php?username=$1&content=$2&type=$3
into
http://www.site.com/users/username/followers/newest
You are missing some open parentheses:
needs to be:
Also, if you want your URL’s to look like
http://www.site.com/users/username/followers/newest, change the^u/in the beginning to^users/.