Hi @pmangahis,
I have taken a look at it and followed the suggestions there and still cannot remove the index.php from the url.
here is what I have done:
-
My htaccess:
RewriteEngine On RewriteBase / # Remove index.php RewriteCond %{SERVER_NAME} ^ourdomain.com RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [L] # Handle subdomains RewriteCond %{SERVER_NAME} ^([a-z0-9-]+)\.ourdomain\.com$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/%1/$1 [L]
-
The relevant settings in my config.inc.php:
; The canonical URL to the OJS installation (excluding the trailing slash) base_url = "http://journal.ourdomain.com" ; Base URL override settings: base_url[journal] = http://journal.ourdomain.com disable_path_info = Off ; Base URL override settings: base_url[journal] = http://journal.ourdomain.com ; Generate RESTful URLs using mod_rewrite. restful_urls = On
The problem is that not only does this not remove the index.php it also removes all the css like what was happening in the initial comment of the thread:
How to remove index.php in ojs 3.0.2.0
do you have any suggestions on what I may be doing wrong?