Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By iandigges on
This is from the handbook:
The default configuration can be found in the
'sites/default/settings.php' file within your Drupal installation.
Set $base_url to match the address to your Drupal site:
$base_url = "http://www.example.com";
I'm not sure what to put for this setting. Do I put the name of my webserver? or does drupal give me a site? or something else?
Thanks,
~Ian
Comments
If your site is going to be
If your site is going to be accessed at http://www.example.com you put in http://www.example.com. If your site is going to be accessed at http://www.example.com/drupal, you put in http://www.example.com/drupal
Just make sure that you don't add a trailing slash at the end..
hth
-K
I'm confused
I guess I'm asking where my site is gonna be accessed from.
huh? Just put in your
huh? Just put in your website's address/domain here.
-K
Did you register a domain
Did you register a domain yet?
Advanced Web Design
Also from the handbook
A search on Drupal for base url returns a helpful page on tolerant base url.
Copy and paste, just like in CS101 ;)