I have a page something like: www.site.com/ref.php/index.php?user=John
I need the above to be changed, to www.site.com/ref.php/john
I have .htaccess file in the root directory and inside it, there is this code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /url/index.php?username=$1
But when I browse the page: www.site.com/ref.php/john it is giving me a 404 error
it must be a simple mistake, because I totally know nothing about url re-writing.
thanks for the help