How to move OJS installation folders

I am looking to move the OJS folders from something like

xxx.org/ojs-2.4.2/index.php/pubname/index

to

xxx.org/ojs/index.php/pubname/index

This system was originally installed with…yes…2.4.2 and no thought was given to the longevity of that link…

Can we just do a rendir on linux and is everything referential in nature or is everything hard coded?

Thank you!

Nothing is hardcoded in the OJS code.

You will want to check your config.inc.php base_url (or base_url[]s). It is also possible someone hardcoded a /ojs-2.4.2/ path in something like the files option.

Beyond that, it is all up to your webserver configuration and external URL references. You may want to setup an alias or re-write rule to help out resolution of third-party links which may have been created on the old URL. With Linux you could also use a symbolic link to make both paths alive at the same time.

Thanks Clinton. We will review those config files. cheers!.

Richard A. DeVito Jr.
Publisher
Weston Medical Publishing, LLC, 470 Boston Post Road, Suite 301, Weston, MA 02493 USA
radjr@pnpco.com - 781-899-2702 ext. 107 - 781-899-4900 fax
Join us at the 2016 International Conference on Opioids, June 5-7, 2016

We have the same issue, as soon we move the installation folder the settings in OJS are messed up, The side panels and blocks disappearing. Our story started with installing the OJS in a sub folder in main domain http://koyauniversity.org/aro as we used the sub-domain for our live journal on other platform. We said when we done we just copy it over into sub-domain

http://aro.koyauniversity.org

but everything messed up and nothing worked. We worked days to change the setting but it seam OJS does not allow for such flexibility. Then we just pointed the sub-domain to the folder. This is a single journal and we wanted to get rid off long URL before we reset our DOI. When I followed the setting you have above the http://aro.koyauniversity.org/aro/ kept coming up. Is there any special way one needs to move the installation between folders?

In your other post, you mention the occurrence of /aro/ in the terminal breadcrumb, except on the article view page.
http://forum.pkp.sfu.ca/t/please-how-to-direct-single-journal-to-web-root-http-journalpage-com-instead-of-http-journalpage-com-index-php-ojs/827/7?u=ctgraham

I reproduced this bug in 2.4.x. I’ll follow up on the other thread when I have a formal bug report.