My URL is: http://www.website.com/profile.php?username=xyz
But I want to change into this: http://www.website.com/xyz
Will it be possible using .htaccess
?
I have tried but it gives me:
Internal Error.
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} ! -f
RewriteCond %{REQUEST_FILENAME} ! -d
RewriteRule (.*) profile.php?username=$1