Remove index.php from journal URL

I have created a single journal, the current URL is

I have used the redirection option in site settings, but I still need to get rid of the “index.php” from the URL.
I tried couple of methods that I saw in this form but all those gave me either a 404 or a “too many redirects” error.

My .htaccess is as follows;

DirectoryIndex index.php

   <IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
   RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteRule ^(.*)$ index.php/$1 [QSA,L]

‘restful_urls’ was ‘On’ as well.