Having a problem with an OJS 2.4.8.1 site on a server with multiple OJS installations, where the page URLs on the header links inside the journal pages are being generated incorrectly. For example, on a page like
https://journalsite.institution.edu/index.php/JOURNAL/pages/view/FAQ (correct URL)
The page links in the header are being generated to look like
https://journalsite.institution.edu/ojs/index.php/JOURNAL/pages/view/FAQ (incorrect URL)
The /ojs/ is the path where that particular OJS site is installed, i.e. /var/www/html/ojs/
But because our virtual hosts setup points the “journalsite” subdomain directly to /var/www/html/ojs/, I have edited config.inc.php to set the base_url as so:
base_url[JOURNAL] = “https://journalsite.institution.edu/index.php/JOURNAL”
This works great for links inside the journal manage, for instance,
https://journalsite.institution.edu/index.php/JOURNAL/manager/ (links on this page are generated without the /ojs/ in the middle)
But not for the header links on public facing journal page (i.e., HOME, ABOUT, etc. are all broken.)
So my question is, what’s the difference? Where are the header links getting their base URL from?
Thanks for the help,
Tim