(Article) Two Sites, One Database, One Installation of Drupal: settings.php setup

New Page 3

Two Sites, One Database, One Installation of Drupal : Settings.php Setup 

 

The guidance provided below assumes:  

  • You have read "Multiple Sites, Multiple Databases, One Installation of Drupal" located on this site.

  • You have read and followed the instructions in "Two Sites, One Database, One Installation of Drupal: DB Setup" located on this site.

  • You are working with Drupal 4.6.x.

  • You are only sharing two sites.

  • The primary site is already configured.

  • You have a second domain directed to your Drupal home directory.  

 

The processes that differ are the database setup and the settings.php configuration. This article focuses on the settings.php setup. There are several steps required in order to setup the settings.php file starting with its location, its creation, and its editing. There are four parts of the settings.php file that needs to be edited: database name, database prefix array, base url, and the variable overrides.

[Read more..]

Courtesy : idcminnovations.com