I have a folder (market) in which i have one file called (index.php) The URL is like this :
www.website.com/market/?u=xxx
I want to make a user friendly URL that looks like this:
www.website.com/market/u/xxxx
In .htaccess file I put this code:
# Turn Rewrite Engine On
RewriteEngine on
RewriteRule ^u/([0-9a-zA-Z]+) index.php?u=$1 [NC, L]
I get this response:
**Internal Server Error**
The server encountered an internal error or misconfiguration and was unable to complete your request.
What did I do wrong here?
NB: I put the .htaccess file inside the market folder