0

I'm using a 3rd party hosting service for a Drupal 7 installation, and would like to put my Drupal site under the public_html folder like this:

public_html
|
|
|---->mysite
       |
       |-->includes
       |-->misc
       |-->modules
       |-->profiles
       |-->scripts
       |-->sites

However, I'm not sure what settings.php values I need to set, nor what if any .htaccess settings need to be changed?

2

You should be fine. You will probably need to change the

$base_url = 'http://my-path/subdir';

in your settings.php so that drupal is aware of it. Also in your .htaccess you will see

RewriteBase /drupal 

that is commented out. Uncomment this and add your path

| improve this answer | |
  • Thanks very much. Showing again my newbie-ness on Drupal, do I change the .htaccess file under public_html, or public_html/mysite? – jkj2000 Apr 6 '15 at 18:01
  • Change it under public_html/mysite – chadpeppers Apr 6 '15 at 18:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.