As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:

As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

# Use this set of 3 lines for each of your journalsRewriteCond %{SERVER_NAME} ^www.mydomain.orgRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ index.php/journal/$1 [L]

# Use this set of 3 lines to allow access to the site levelRewriteCond %{SERVER_NAME} ^www.mydomain.orgRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ index.php/index/$1 [L]

The URL setting in configure file seem to work, because I can see various links on the journal page has changed to expected format, for example, the link for journal ABOUT is http://www.mydomain.org/journal/about. The problem is when links are clicked, I received 500 error.

Could someone take a look at my code to see where the problem is? Thank you very much!

This is an Apache configuration issue, not an OJS issue; I'd suggest trying stackoverflow.com or reading through these forums for more posts on the rewrite subject. Unfortunately we can't help with debugging mod_rewrite rulesets.

Hello!I don't know to which topic to write so I will post my question here.In Site administrator's area -> Hosted Journals we can configure path to each journal.But this path is common for multilanguage journals. From SEO side the best approach is to have different journal's name in different languages (it will affect actual journal's URL).So this is impossible to configure through OJS system.But is there a way to make it with mod_rewrite or .htaccess?Maybe it was already discussed?Thank you!

asmecher wrote:This is an Apache configuration issue, not an OJS issue; I'd suggest trying stackoverflow.com or reading through these forums for more posts on the rewrite subject. Unfortunately we can't help with debugging mod_rewrite rulesets.

Thank you, but I still could not resolve the issue after reading many posts on stackoverflow and many trials. I own a dedicated server (CentOS + Cpanel) which hosts several of my sites, many of which run php programs such as forums and job boards with URL redirects without any problem. I just don't know why mod_rewrite becomes problematic for ojs. Could you be more specific about what particular setting to look at?

If you want to change the locale depending on the URL, you might want to try applying the patches for bug #8353, which is scheduled for release in OJS 2.4.3. It allows easier control over the locale via the URL.

I can't help with specific mod_rewrite rules -- but rather than trying to use a cookie to set the locale, you should be able to alter the URL that OJS receives to include a "uiLocale" URL parameter, i.e.: http://www.myjournal.com/index.php/myJournal/issue/current?uiLocale=en_US

Understood.This part should be done modifying core files or via .htaccess rules?Thank you!

asmecher wrote:Hi Garant,

I can't help with specific mod_rewrite rules -- but rather than trying to use a cookie to set the locale, you should be able to alter the URL that OJS receives to include a "uiLocale" URL parameter, i.e.: http://www.myjournal.com/index.php/myJournal/issue/current?uiLocale=en_US