Crossref plug-in registers incorrect URL

Description of issue or problem I’m having:

We have a multi-journal instance have run into a weird problem regarding the Crossref plug-in and custom domains. A few journals we host use a custom domain such as https://firstmonday.org/. One of the journals we have, which does not have a custom domain and uses our domain (journals.uic.edu/), had automatic DOI registration set for their articles. When the DOI was registered , it generated a URL like https://firstmonday.org/ojs/index.php/dad/article/view/11537, which doesn’t actually exist. It essentially got the first half of the URL incorrect. It should be journals.uic.edu/ojs/index.php/dad/article/view/11537. Any clues as to how to fix this issue? I believe it is a general OJS issue and not limited to the plug-in because I’ve seen it happen in other contexts as well (automatically generated emails).

Application Version - e.g., OJS 3.1.2:

3.3.0.7.

Hi @Janet_Swatscheno

I would recommend using base_url overrides for all of your journals if you have some that are customized, not just the customized ones. Usually OJS gets the base url correct but there may be situations in plugins where it does not.

Best
Jason

Thanks Jason. Do you have documentation on how to use base_url overrides?

Thanks,
Janet

Hi Janet,

Did you not use one for your journal with a custom URL? In your config file, up near the top where your define your base_url, you can do things like:

base_url[otherpath] = https://your-other-journal.com/index.php/otherpath

so OJS will use this when building links to that journal. Just include those for all of your journals, with your regular domain. This is fairly well documented in the config.inc.php file.

best
Jason