Notes on Multiple Sites in Drupal

I just helped set up the Spanish and English editions at eco-indextourism.org. Here is what the install.txt does not provide about configuring the server so that Drupal's multisite magic can work.

This first part is presented in the install.txt
Create folders for each site in the 'sites' folder. They look like 'eco-indextourism.org.es' and 'eco-indextourism.org.en.' Inside each of those folders place the proper settings.php file. (If the theme will be different for the different sites, then you can create a 'themes' folder within this folder.)

Create Symbolic Links on Linux Server
This step makes all calls for eco-indextourism.org/es and its English counterpart go to the root directory where Drupal is installed. Drupal then reads the original call and sends the proper site. Here are the commands used in the root (using Putty, the SSL client)
ln -s /home/[client name]/public_html /home/[client name]/public_html/es
ln -s /home/[client name]/public_html /home/[client name]/public_html/en

[client name] is the Web host's name for the virtual account
The command to create the symbolic link is LN -S (if the lowercase version is ambiguous)

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options