Hi everyone,

following a suggestion on this forum the other day I've come to realise that I've probably gone about things the wrong way - I've got the site installed in a sub-directory of the domain eg. domain.com/main and am linking from the .com level via a static HTML page. I'm now thinking that I need to move the Drupal installation to the top level out of the 'main' folder - is this likely to cause problems? I've tested it on a mirror site and it seems to be working fine but figured I'd double check.

Comments

Aristide’s picture

I have several Drupal installs which are set up in a subdirectory of the domain root. I like those sites to be contained in their own subdirectory for organisational purposes.
I just put a htaccess file in the root of the domain, containing the following :

Redirect /index.html http://www.mysite.tld/mysubdir/

So when people type www.mysite.tld into their browser, they get onto www.mysite.tld/mysubdir rightaway.
There are probably other ways to the same goal. This one works well on my systems.

stormer’s picture

that's pretty much why I initially had the site in its own directory but then I began to wonder whether a static front end would affect page ranking with search engines. Any ideas?

vm’s picture

There would be no ill effects with the method you have chosen.

stormer’s picture

thanks very much.