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:


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

1 Answer 1


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

  • 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, 2015 at 18:01
  • Change it under public_html/mysite Apr 6, 2015 at 18:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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