If the above steps didn’t work for you, also check your httpd.conf file and make sure mod_rewrite is enabled.
Open your httpd.conf and confirm this line is uncommented:
LoadModule rewrite_module modules/mod_rewrite.so
If it has a # in front, remove it and restart Apache.