By Callaghan89 on
Hey Gents
Currently www.mywebsite.com is not the homepage, it says "coming soon" still.
www.mywebsite.com/drupal is the homepage, and every link path comes after drupal.
I've done it before, but can't remember.
How do I remove the "drupal" from the link path, or at the very least make: www.mywebsite.com, the accessable home page?
Cheers,
Callaghan
Comments
Easy: Place your drupal site
Easy: Place your drupal site files in your website root folder, NOT in a subfolder
Easy: Adjust your hosting settings so your virtual host actually serves the drupal folder as the site root
Cheap: put a header redirect from your placeholder page to /drupal/ and live with it.
Tricky: search a bit and mess around with .htaccess.
.dan. is the New Zealand Drupal Developer working on Government Web Standards
IMHO, the best solution #2
IMHO, the best solution #2 above. This has no delay and you can have additional sites in others subfolders should you need them. In fact, on my hosting account, I have a drupal_root drupal core that serves 4 sites. I did this by changing the hosting settings to point to drupal_root as the site root and then using the settings.php and sites/ folders in Drupal I point my additional URLs to their appropriate places. Hope this helps.
Chris
Usually
Me too.
#1 is the "That's obvious" answer,
I do #2 wherever I can, because I'm multisiting.
And it requires a little background understanding of how servers work, rather than just familiarity with how filesystems work. Go with what you know.
Thing is, not all hosting companies may expose this setting in a way you can configure...
Some hosts may just assume must always use a new subdirectory for each new hostname, or have systems and setup scripts in place that rely on you doing so (logs, stats, userdirs, admin tools). So it's not always clearly the best. Best by choice ... when possible.
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Hey guys, I kind of
Hey guys,
I kind of understand.
I am a total novice (my apologies).
I use godaddy.com as a server and have drupal installed from there.
Any specific how to's ?????? I struggle with the gibberish!
anyone?
anyone?
Callaghan89, If you haven't
Callaghan89,
If you haven't gotten too far creating your site, you can uninstall and reinstall into the root through Hosting Connection. To install in the root you leave the install directory blank during the reinstallation. Here's more help info to accomplish this:
http://help.godaddy.com/article/1736
http://help.godaddy.com/article/1724
If that's not an option, here are a few threads that discuss moving to the root and using an .htaccess redirect.
http://drupal.org/node/192963
http://drupal.org/node/20853
I use 1&1, so I don't know
I use 1&1, so I don't know about GoDaddy, but all I have to do is go into my domain name settings page. From there, I can choose the domain name I want to edit, click on something like "edit destination" which then gives me an option to choose from the filesystem what my website root will be. So, all you need to do is go deeper into your folder to the drupal folder and submit it. Hope this makes sense.