Sign up ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I am having my site on which is hosted with hostgator. It is installed in public_html, and I installed Drupal in a sub-folder.

Whenever I go to my site, the address bar of the browser shows, when I would like it to show just

How can I achieve this?

share|improve this question
Comment instead of answer as I'm not sure, but if you dig around in the .htaccess file, I think you'll find a "baseurl" setting. Uncomment and add the directory "/techspot" to it. That could help. – Letharion Nov 23 '12 at 9:44

1 Answer 1

In your htaccess file you can set the rewrite rule:

# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
# VirtualDocumentRoot and the rewrite rules are not working properly.
# For example if your site is at uncomment and
# modify the following line:
# RewriteBase /site
share|improve this answer
hi did that but still not working.. this is my website,, so a bit of improvement is that whe I type my site name it is not loading with anymore it is simply loading but after the main page the rest of the pages are back to normal showing like this but i want to show only like this – mamoth Nov 22 '12 at 14:53
sure? as far as i can see, it's working... do you have another page, say node/1 etc. to confirm? – Volker Nov 22 '12 at 15:21
funny enough i cannot get the new password link, it is not showing me anywarning message or if correct username is given not showing any message, if it is sucessful or not.. – mamoth Nov 22 '12 at 15:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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