Update 3.3.0-11 journal domain name

I just installed the LTS version of OJS. I had the 3.3.0-10 version and I managed to have a journal with its own domain name working. Now, with the same .htacces when I click on the logo/journal name in the header I get redirect at journaldomain.com/index, which obviously gives 404. Everything else works fine, except fot the redirection to the homepage.
I don’t know if something is changed in the new version or if I have to set things different. This is my htaccess (following this and this):

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /
	## Journal has its own domain
	RewriteRule ^api/v1(.*)$ index.php/journal/api/v1$1 [L,R=307]
	
	RewriteCond %{SERVER_NAME} ^(www\.)?journal.it
	RewriteCond %{REQUEST_URI} !/journal/ 
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteRule ^(.*)$ /index.php/journal/$1 [QSA,L]

	
	#Mainsite of OJS with journal overview
	RewriteRule ^api/v1(.*)$ index.php/test/apiv1$1 [L,R=307]
	RewriteCond %{SERVER_NAME} ^(www\.)?mainsite.com
	RewriteCond %{REQUEST_URI} !/test/
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteRule ^index/(.*)$ /index.php/index/$1 [QSA,L]
</IfModule>

Another problem I see is that the OJS mainsite (with all the journals available on this ojs installation) loses all css. The solution base_url[index] = http://journals.uni-giessen.de/index in config.inc.php with the empty folder index doesn’t work (see always here)

Update: the Admin page is not reachable in any ways. I think the problem is always with the /index path

So I thinkered a little and this configuration works:

  • .htaccess as above
  • empty index folder with drwxr-xr-x permissions
  • in config.inc.php base_url[index] = http://mainsite/index ok, but also commenting the base_url[index] works

The only thing remained is that clicking on the logo/journal name in the header it redirect in the url it appears /index which I don’t like, but the homepage is working (in the version before there wasn’t the /index at all)