I am trying to remove index.php from the url but i get too many redirects error and 404 error.
Here is my .htaccess script:
RewriteEngine On
#RewriteBase /
RewriteRule ^index.php/$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^/hsmj/ index.php/$1 [QSA,L]
##RewriteBase /
#
## Remove index.php
#RewriteCond %{SERVER_NAME} ^healthsystemsmanagementjournal.com
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ index.php/$1 [L]
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ index.php/$1 [QSA,L]
RewriteRule ^(.*)$ index.php/$1 [QSA,NC,L]
</IfModule>