If you can’t enable clean URL’s in Drupal when set up locally, chances are that mod rewrite is disabled. All you have to do is uncomment a line in your httpd.conf file in order to enable mod rewrite disabled. If you’re using XAMPP, it’s located at xampp\apache\conf.
Open the file in notepad or a text editor of your choice and search for the following line:
#LoadModule rewrite_module modules/mod_rewrite.so
Uncomment it by getting rid of the
Restart Apache and you should be able to enable clean URL’s now. In case you can’t, drop a a comment and I’ll be glad to help out.