PHPackages                             unlcms/unl\_multisite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. unlcms/unl\_multisite

ActiveDrupal-module[Admin Panels](/categories/admin)

unlcms/unl\_multisite
=====================

Admin interface to create and manage multiple site installations.

3.2(1w ago)14782[9 issues](https://github.com/unlcms/unl_multisite/issues)[1 PRs](https://github.com/unlcms/unl_multisite/pulls)PHP

Since Oct 4Pushed 1w ago4 watchersCompare

[ Source](https://github.com/unlcms/unl_multisite)[ Packagist](https://packagist.org/packages/unlcms/unl_multisite)[ RSS](/packages/unlcms-unl-multisite/feed)WikiDiscussions 3.0.x Synced yesterday

READMEChangelog (10)Dependencies (6)Versions (35)Used By (0)

UNL Multisite Module for Drupal 8/9/10
======================================

[](#unl-multisite-module-for-drupal-8910)

Provides a web interface to run a [Drupal multisite](https://www.drupal.org/docs/multisite-drupal) setup so additional sites can exist in subdirectories such as .

Installation
------------

[](#installation)

1. Insert the following line into index.php after $request is initialized:

`require_once './modules/contrib/unl_multisite/bootstrap.inc';`

Your index.php file should look like:

```
$request = Request::createFromGlobals();
require_once './modules/contrib/unl_multisite/bootstrap.inc';
$response = $kernel->handle($request);

```

2. Copy .htaccess-subsite-map.txt.sample to the web root and rename to .htaccess-subsite-map.txt
3. Set the location of your config directory in sites/default/settings.php - [See Drupal.org for help](https://www.drupal.org/docs/8/configuration-management/changing-the-storage-location-of-the-sync-directory)

```
$settings['config_sync_directory'] = '../config/sync';

```

4. Copy sites/example.sites.php to sites/sites.php and add this to the end of the file:

```
  /**
   * Stub for the unl_multisite module to generate site aliases.
   */
  # THIS SECTION IS AUTOMATICALLY GENERATED
  # DO NOT EDIT!!!!

  # %UNL_CREATION_TOOL_STUB%

  # END OF AUTOMATICALLY GENERATED AREA

```

5. Add this to .htaccess at the web root (inside the block).

```
  # START unl_multisite SECTION
  # Add the following line to your httpd.conf where  is the file system path to the Drupal web root.
  # RewriteMap drupal_unl_multisite txt:/.htaccess-subsite-map.txt
  # Do not uncomment the previous line.
  RewriteRule .*/cron.php cron.php
  RewriteRule .*/update.php update.php
  RewriteRule ^(.*?/(core\/assets|core\/misc|core\/modules|core\/themes|libraries|modules|sites|themes))(.*) ${drupal_unl_multisite:$1|$1}$3 [DPI]

  RewriteCond ${drupal_unl_multisite://%{HTTP_HOST}%{REQUEST_URI}|NOT_FOUND} !^NOT_FOUND$
  RewriteRule (.*) ${drupal_unl_multisite://%{HTTP_HOST}%{REQUEST_URI}|$1} [R,L]
  # END unl_multisite SECTION

```

6. Add the following line to your Apache's configuration file (httpd.conf) where &lt;DRUPAL\_ROOT&gt; is the file system path to the Drupal web root. Restart Apache afterward.

```
  RewriteMap drupal_unl_multisite txt:/.htaccess-subsite-map.txt

```

7. Set up a cron job on the server to execute unl\_multisite/cron.php on a regular basis.
8. Ensure the MYSQL database user for the default site has privileges to create new databases.

Troubleshooting
---------------

[](#troubleshooting)

- Drush and MariaDB 10.7+ don't work with a database port set if the host is localhost. If you are using localhost for the host, clear the port setting in settings.php.

###  Health Score

48

↓

FairBetter than 94% of packages

Maintenance78

Regular maintenance activity

Popularity19

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 73.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~85 days

Recently: every ~51 days

Total

27

Last Release

8d ago

Major Versions

1.8 → 2.02025-09-15

2.0 → 3.0.02025-10-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/446357?v=4)[Eric Rasmussen](/maintainers/ericras)[@ericras](https://github.com/ericras)

![](https://www.gravatar.com/avatar/6e031eb579cc69ba56d0e76d472cfe212a93ea180852d524e37ab12f0d12b02b?d=identicon)[macburgee1](/maintainers/macburgee1)

---

Top Contributors

[![ericras](https://avatars.githubusercontent.com/u/446357?v=4)](https://github.com/ericras "ericras (93 commits)")[![sarongebre](https://avatars.githubusercontent.com/u/72580736?v=4)](https://github.com/sarongebre "sarongebre (13 commits)")[![mfairchild365](https://avatars.githubusercontent.com/u/498678?v=4)](https://github.com/mfairchild365 "mfairchild365 (10 commits)")[![tsteiner](https://avatars.githubusercontent.com/u/195772?v=4)](https://github.com/tsteiner "tsteiner (8 commits)")[![macburgee1](https://avatars.githubusercontent.com/u/1521132?v=4)](https://github.com/macburgee1 "macburgee1 (2 commits)")

### Embed Badge

![Health badge](/badges/unlcms-unl-multisite/health.svg)

```
[![Health](https://phpackages.com/badges/unlcms-unl-multisite/health.svg)](https://phpackages.com/packages/unlcms-unl-multisite)
```

###  Alternatives

[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)[jsdrupal/drupal-admin-ui-demo

Project template for testing Drupal's React Admin user interface

262.1k](/packages/jsdrupal-drupal-admin-ui-demo)[resma/filament-awin-theme

A modern, responsive, and customizable theme for FilamentPHP, designed to elevate your admin panel with a sleek interface and seamless user experience.

1714.6k](/packages/resma-filament-awin-theme)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
