Problem of Single Journal Publishers: [removing /index.php/..]

To change to site.come/journal

I turned restful url in config file On. Also added this in .htaccess:

RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,L]

But that doesn’t work. As I just have only one journal the “/index.php/”… in all urls is weird and long for visitors probably not SEO friendly.

The above method force a lot of redirecting? isn’t it bad for SEO such redirecting?
Any other idea to remove index.php like any change in bootstrap or codes of an Handlers?

OJS 2.4.2


There’s a bit more to it than just creating the .htaccess file. Can you verify that the .htacess file is being read? Not all server configurations allow it. When you say that it doesn’t work, what actually happens when you try it?


It works as I applied these changes:

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

The above Rewrite code works. But, the problem is that it redirect any link to main page of the website. I saw in other forums on internet other people have the same problem with OJS and all their urls is redirected to the the main page.

I use OJS 2.4.2 with activated restful_url.
What is the solution of this common problem?