I currently have Drupal 6.2 set up in a subdomain as follows:
Rather than using domain forwarding to get mysite.com to the subdomain, I'd like to go straight to the directory.
I have changed the settings in my sites/default/settings.php file so that the url shown is mysite.com.
But,
1) no matter what I do the url for the home page in the site information page shows www.exampledomain.com/mysite.
Since my hosting account allows multiple domains, I've pointed my domain directly to the mysite directory.
2) When I do that I get to the main page but I can't login or find any of the other pages.
Even though I'm going to the exact same folder
Can someone please help as I've been going in circles with this for a month.
Thanks
Comments
How is $base_url defined in
How is $base_url defined in settings.php? Can you post a link to your site since it's hard to follow exactly what's going on - the steps you've taken sound sensible.
It may also be something to do with RewriteBase in .htaccess.
Finally, clear your browser's cache (and Drupal's caches while you are at it) to ensure you are seeing the latest version of everything.
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
$base_url is defined
$base_url is defined correctly.
I've also tried clearing the Drupal's cache.
I created another directory with drup and it seems to be showing the page ok.
It may be related to the settings.php file in my original setup.
>$base_url is defined
>$base_url is defined correctly.
Well we'll have to take your word for it!
Maybe $base_url is defined twice in settings.php? Essentially what is output just in front of the textbox for the default front page on the site information settings page is just $base_url... Silly question ... did you remove the # at the start of the line ...?
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk