[Solved]Htaccess to get ride of php?u= doesn't work on localhost

Hi Jeff, this is the whole .htaccess at the moment. If I use it on my website for example, it rewrites the word after the root address that consists of letters and numbers to “profile.php?u=$word”

For example, when I type in “http://www.fuchairs.com/user” in the address bar it brings me to “http://www.fuchairs.com/profile?u=user