Im having a weird issue here; The following .htaccess works but now (after changing to a dedicated server) it just appends the variable at the end of the url at the browser's address bar; For example:
If I call this.. http://www.mydomain.com/sports
It gets rewrote like this.. :( http://www.mydomain.com/index.php?u=sports
I just want it to stay like exactly like it was called :)
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .* - [L]
RewriteRule ^(.*)$ http://www.mydomain.com/index.php?u=$1 [NC]
Thanks in advanced!