By rsmarsha on
I have installed Drupal in my root folder, the reason for this is the domain which is attached to my shared hosting automatically links to my /public_html folder.
I had another site I was working on in a sub folder say for example /public_html/testsite. I can't now access this site unless i use a subdomain i created testsite.domain.co.uk.
What can I edit in the .htaccess to allow certain subfolders to be viewable again? Maybe something to allow access to certain folders but let drupal block the rest.
Comments
=-=
http://drupal.org/node/167169
&
http://drupal.org/node/30334
Would it be better to see if
Would it be better to see if my host can point the domain at a subfolder and install drupal there?
If thats the case, is it possible to just copy all the files into a subfolder and edit any config options?
Thanks, i've looked at those
Thanks, i've looked at those links and they don't seem to do the trick but i'll keep trying.
If I plan to have more than one site at a host would it just be easier to move drupal into a sub folder? If so how easy is that to do, would i need to install again or can i copy the files over?
=-=
I tend to use multiple subdomains in a case like you describe. I think use a redirect if necessary to control those calling the maindomain in the browser.
If you intend to run multisites, you only need one core installation, the rest of the sites can use those files per the "multisite" install instructions found in the documentation area and on the forums.
Yeah I've setup one
Yeah I've setup one subdomain so when i get an actual domain for that I'll point it at the subdomain.
I managed to open indexing on one sub folder which I wanted to access.
The other site is not a drupal site so can't use the multi-site info.
Also if I ever wanted to move drupal to a subfolder could I just move it and edit the relevant config settings?
=-=
yes you can move it. Though you will want to clear your cache tables and in the DB and turn off clean urls before the move.
Could you turn them back on
Could you turn them back on afterwards?
=-=
yes, of course.