Hi Guys, wonderful work with the open source software.
I have a small issue though. I am trying to create a journal and a conference site for my fellow department students to submit materials for the journal and conference. But I have just one problem, I want to host just one journal and I want it to open directly on the web root (http://journalpage.com) instead of (http://journalpage.com?index.php/ojs. Please how do I make this happen.
I know there are a whole lot more important issues to attend to, but I’m a medical student with web design as an hobby so maybe I’m a noob (as the call it).
i have searched but truth is i dont know what i am suppose to be looking for.
We really ought to have an updated HOWTO, but the number of possible configurations makes it a bit intimidating to maintain.
The core issue, from my perspective, is that for OJS 2.x you will need two URL hooks:
OJS “index” or site level access
Normally this is the site root, but you are inverting the structure to hide this root.
This will probably be a specific URI off of your root, perhaps http://journalpage.com/index
It would need to live in your config.inc.php as base_url['index'] = http://journalpage.com/index
OJS journal level access
This is your actually main landing page
It needs to live in your config.inc.php as base_url['SHORTNAME'] = http://journalpage.com where SHORTNAME is the Journal’s short name.
I have the same issue but I can not make sense of this solution. We have just migrate from custom web site for our journal to a OJS 2.4.8 and we are about to change the path to our DOI but I find the long URL a bit unfeasible here,
How can we drop the (index.php/aro/index) aro is the short name for our journal,
; Generate RESTful URLs using mod_rewrite. This requires the
; rewrite directive to be enabled in your .htaccess or httpd.conf.
; See FAQ for more details.
restful_urls = Off
I got this work now, We have reinstalled our server and now everything is working but the terminal link back on breadcrumbs issue, which reported as bug. Here is my code tested at
In your Site Settings (User Home → Site Administrator → Site Settings), do you have the option for “Journal Redirect” set? It sounds like you have a single-journal install and want the User Home to generally stay within that journal. As of OJS 2.4.8-1, setting this redirect will perform that operation.
Otherwise, you could change the template for templates/common/navbar.tpl manually, removing the journal="index" option from the link:
With a change like this, would your site and journal work as expected?
If the site redirect is set, and you are at 2.4.8-1, and the User Home does not work as expected, there is still a problem we need to find.
If the site redirect is set, and you are at 2.4.8-0, you could either upgrade to 2.4.8-1 or apply this change here:
The override from the “Otherwise” section above will work regardless of the specific version and regardless of the settings, but is the furthest from the core code.
Yes, I just checked there is an update, Is this major task to apply the patch please?
OJS VERSION
CURRENT VERSION
2.4.8.0 (April 25, 2016 - 01:40 AM)
Latest version: 2.4.8.1 (August 3, 2016)
An updated version is available: Download | Download Patch | More Information
OJS 2.4.8 to 2.4.8-1 is a small set of fixes and enhancements. If you have performed an upgrade on your own previously, it will be a minor task. If you are not familiar with the upgrade process, it will take some extra time.
Did you do the upgrade from 2.4.7 to 2.4.8 yourself?
I have added that line to the Navbar file, What changes should expect please?
No no, I just installed fresh with 2.4.8, we just moved to OJS system, This is a newly established university journal. So I have not done any upgrading before,
If you change line 17 of templates/common/navbar.tpl from: <li id="userHome"><a href="{url journal="index" page="user"}">{translate key="navigation.userHome"}</a></li>
to <li id="userHome"><a href="{url page="user"}">{translate key="navigation.userHome"}</a></li>
when you click on the “User Home” link in the main navigation bar, instead of directing you to the Site’s User Home, it will direct you to the Journal’s User Home.
I expect this to resolve the first problem you describe here:
BTW, in the direction you have provided on MAY 15 above on the last line one have to have it should be a / after SHORTNAME to read as below, without it it does not work
Hi guys
Thank you very much for these elements, but as I have the same issue, nothing proposed in the several messages on the forum is working for me.
I have freshly installed OJS 3.0.2 on an Apache Server to use it for only one journal.
My conf. :
Has anyone successfully done this on OJS3.0? By not having a clean URL, SEO ranking will be affected too. This should be a part of the design itself. Any thoughts? Feedback? Thank you.