I am using Wordpress on hosting linux (by Aruba). It's in a directory named "up". Now I installed Moodle in the same host but inside a directory named "formazione". Installation Moodle is ok.
But I have a problem: Immediately after the installation of Moodle, www.domain.com/formazione/index.php isn't reachable. OH NO!
I thought the problem might be in the .htaccess file available on the root. I open this file and I read:
RewriteEngine On #created by aruba do not touch this file! #ATTENTION: Remove file index.(php|html|htm) RewriteCond %{REQUEST_URI} !^/up RewriteRule ^(.*)$ up/$1 [L]
Deleting the .htacess file available on the root I get this result (it's not a solution evidently): I noted that if I go to my domain (e.g. www.domain.com) i read a white page with "under construction" (oh no!). It's the file index.php on the root. But normally if I go to www.domain.com the home page is the index.php of the "up" directory (www.domain.com/up/index.php).
But...Now the www.domain.com/formazione page now is reachable.
Why? What can i do?
I need:
- Have my www.domain.com pointing to index page of wordpress (www.domain.com/up/index.php)
- At the same time, obviously, i need to reach also www.domain.com/formazione