Additional /ojs/ to some pages after migration


I’ve recently switched my ojs installation from the subdirectory of the main site ( to its own subdomain ( Everything seems to be working okay except the fact that there’s an additional ‘/ojs/’ to the links available on the following pages for every single journal on my site:

I noticed that such links are created in cached files like fc-journalSettings-3.php …

The base_url[index] in is as follows:

base_url[index] =

Do you know what could be the reason for this additional /ojs/ to these kind of links?

Thank you.


Hi @Dragomir,

Some of the internal links in OJS are generated when you create the journal, so if the relative path changes, you’ll need to correct them manually in the journal’s setup area.

Alec Smecher
Public Knowledge Project Team

1 Like

Hi @asmecher,

Thank you for your answer.

I was unable to find any instances of /ojs/ there and still I have no clue on what is the reason for having this additional /ojs/ in some links on pages like I checked the Setup process, etc., without success.

However, I’ve managed to rewrite all links containing /ojs/ with the following .htaccess rule that I found here:

Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /

RewriteRule ^ojs/(.*)$ /$1 [L,NC,R]

I’m not sure about the side effect of the rule, but for now it does the trick…