Am testing on a localhost, my htaccess is as shown below:
RewriteRule ^user/(.*)$ pages/user.php?u=$1 [NC,L]
RewriteRule ^bookmarks pages/bookmarks.php [QSA]
This is not your .htaccess or your php. This is your FireFox offering you google's search services.
There are a number of ways to fix it (in FF's about:config page) but you might be best off just typing the
localhost for local URLs.