- Create a subdirectory inside sites folder of your Drupal installation, it will be inside docroot folder.
Drupal-Multisite Directory Structure - Create a virtual host. You can follow any of the steps from traditional way to executing a bash script. I recommend executing a bash script so that you don't need to go through all steps everytime.
- Make a copy of /docroot/sites/example.sites.php called /docroot/sites/sites.php
- Add the below line of code inside the sites.php.
$sites['sub-site-address.domain'] = 'subsite'; - Check the newly created subsite from your browser 'sub-site-address.domain' and install the site.
- Create folders for modules, themes, libraries etc., and add your custom theme or module specific to this newly created site if you wish.
What is the best way to strengthen your knowledge? I think the best way is to talk about what you know, then collect feedback, correct, update, and repeat this cycle!
Tuesday, January 29, 2019
How to create a subsite in Drupal
Subscribe to:
Post Comments (Atom)
-
1. Download and install Views Data Export Module (https://www.drupal.org/project/views_data_export) If you are using composer to install ...
-
For example , consider if ADFS SSO giving additional parameters like first name, surname, job title, etc., so how we map these additiona...
-
There were occasions that we need to pull/push data from our Drupal site to/from Salesforce. Here I'm explaining the complete steps to d...
No comments:
Post a Comment