Can you modify and test that scenario on your OJS installation?
Please consider that your server configuration is also important for the result. This solution is for a Linux Apache webserver.
Sample configuration to remove index.php and journal path on Single OJS Journal
domain: https://www.cancer-research.net
journal path: jcr
PHP script execution mode : CGI wrapper (run as virtual server owner)
HTACCESS
# OJS 3.2.1.2 remove journal path
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# Bugfix for OJS 3.2.0-3: submissions API doesnt work with shortened URLs
RewriteCond %{SERVER_NAME} ^(www\.)?cancer-research.net
RewriteRule ^api/v1(.*)$ index.php/jcr/api/v1$1 [L,R=307]
# Rewrite URL to look cleaner
RewriteCond %{SERVER_NAME} ^(www\.)?cancer-research.net
RewriteCond %{REQUEST_URI} !/jcr/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/jcr/$1 [L]
RewriteRule ^api/v1(.*)$ index.php/index/api/v1$1 [L,R=307]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php/$1 [QSA,L]
</IfModule>
CONFIG.INC.PHP
base_url = "https://www.cancer-research.net"
base_url[index] = https://www.cancer-research.net/index
base_url[jcr] = https://www.cancer-research.net
restful_urls = On
htaccess directives for apache virtual host:
Options +ExecCGI +FollowSymLinks +IncludesNOEXEC -Indexes +SymLinksIfOwnerMatch
allow from all
AllowOverride All
Require all granted
Regards,
Update: I get success when modified and applied them.
You may check it at;
https://www.cancer-research.net
for a temporary time.
username: sysmanager
pass: 123456
You may try to change everything in the settings.
Let’s thank to @KBodarwe and @klausru again
Regards,