Working with URL OJS 3.1

I have installed the OJS 3.1 on my domain as www.jiaats.com/ojs31
I have redirected the document root to jiaats.com/ojs31

All I want to hide the OJS31 directory name from the URL.
Would you please let me know how to work with URLs.

Regards
Naveen Malik

Hi Naveen,

See questions 3 and 4 in this FAQ document.

Best,
Amanda Stevens
Public Knowledge Project Team

I am changing the URL to my OJS installation. Does OJS need to be
reconfigured to be accessible under the new URL?

A: The only reconfiguration that is required after a change in the site URL is
to update the value of the “base_url” configuration setting in
config.inc.php.

I have tried to move the files from /jiaats.com/ojs31 to /jiaats.com(root folder) and changing the base URL gives the error 404 directory not found.
I have removed the redirection. Set the root directory to www.jiaats,com.
But this didn’t work for me.
Please guide me to change the base_url
Regards
Naveen Malik

1 Like

I have tried the FAQ
; 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 = On

And add

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]

to .htaccess file in the same directory of my journal.
My journal gets like this and the url is still same

image