[OJS 3.1.2-1] Journal statistic

Hello,

We are using OJS 3.1.2-1 We host several journals which have their own domain name.
We have the same problem. Some statistic pages do not display with a “404 Not Found” error.

We have rewrite rules in .htaccess file like this:

RewriteEngine On
RewriteBase /
RewriteCond %{SERVER_NAME} ^journal-domain1.fr
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php/journal1/$1 [QSA,L]

It works fine but not for the following URL:
https://journal-domain1.fr/api/v1/stats/publishedSubmissions

There is a “404 Not Found” error.

I tried several additional rules but it doesn’t work.

Is anyone has an idea ?

Thanks in advance.
Best regards.
Helene