How to remove index.php in ojs 3.0.2.0

I just can’t figure out why I ended up removing RewriteCond %{REQUEST_FILENAME} !-d and adding the rule for specific folders. I probably have to test and see if it makes a difference. I already wrote that almost a year ago for OJS2.