PHPackages                             helsingborg-stad/subdirectory-to-subdomain-redirect - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. helsingborg-stad/subdirectory-to-subdomain-redirect

ActiveWordpress-muplugin[Utility &amp; Helpers](/categories/utility)

helsingborg-stad/subdirectory-to-subdomain-redirect
===================================================

v1.0.0(3y ago)024MITPHP

Since Nov 9Pushed 3y ago4 watchersCompare

[ Source](https://github.com/helsingborg-stad/subdirectory-to-subdomain-redirect)[ Packagist](https://packagist.org/packages/helsingborg-stad/subdirectory-to-subdomain-redirect)[ RSS](/packages/helsingborg-stad-subdirectory-to-subdomain-redirect/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

[![Contributors](https://camo.githubusercontent.com/8fbdf5a92fa16629a2639187ff843a95d92aae22fcb35819a7b640bad99d2e8f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f68656c73696e67626f72672d737461642f737562706174682d746f2d737562646f6d61696e2d72656469726563742e7376673f7374796c653d666c61742d737175617265)](https://github.com/helsingborg-stad/subpath-to-subdomain-redirect/graphs/contributors)[![Forks](https://camo.githubusercontent.com/485e3d95b554dc3d216e748f0467e94b117e390748c0e9bb144e11de6d122f30/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f68656c73696e67626f72672d737461642f737562706174682d746f2d737562646f6d61696e2d72656469726563742e7376673f7374796c653d666c61742d737175617265)](https://github.com/helsingborg-stad/subpath-to-subdomain-redirect/network/members)[![Stargazers](https://camo.githubusercontent.com/2c4fcd730ee782c096a8a6612ed19bdd2be257920a9a185c66bd246f9b57d666/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f68656c73696e67626f72672d737461642f737562706174682d746f2d737562646f6d61696e2d72656469726563742e7376673f7374796c653d666c61742d737175617265)](https://github.com/helsingborg-stad/subpath-to-subdomain-redirect/stargazers)[![Issues](https://camo.githubusercontent.com/0aeb6bc23fb0f76eabaae9d86f6ff93114ef4654d7ff358b3d1d4766931d3547/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f68656c73696e67626f72672d737461642f737562706174682d746f2d737562646f6d61696e2d72656469726563742e7376673f7374796c653d666c61742d737175617265)](https://github.com/helsingborg-stad/subpath-to-subdomain-redirect/issues)[![License](https://camo.githubusercontent.com/6df58ec6c4ec925fde39f51a8bd02f48e0d5e30a0d754242640442faeae6b1c3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f68656c73696e67626f72672d737461642f737562706174682d746f2d737562646f6d61696e2d72656469726563742e7376673f7374796c653d666c61742d737175617265)](https://raw.githubusercontent.com/helsingborg-stad/subpath-to-subdomain-redirect/main/LICENSE)

 [ ![Logo](docs/images/hbg-github-logo-combo.png) ](https://github.com/helsingborg-stad/subpath-to-subdomain-redirect)

Wordpress Network Subdirectory to Subdomain redirect
====================================================

[](#wordpress-network-subdirectory-to-subdomain-redirect)

 Redirects subdirectories to matching subdomain in wordpress networks from active sites.
 [Report Bug](https://github.com/helsingborg-stad/subpath-to-subdomain-redirect/issues) · [Request Feature](https://github.com/helsingborg-stad/subpath-to-subdomain-redirect/issues)

Constants
---------

[](#constants)

Defaults to only redirect from domain of blog id 1, can be overridden with constants with one or more blog ids;

```
define('SUBDIRECTORY_TO_SUBDOMAIN_REDIRECT_ACTIVE_BLOGS', [1, 2]);
```

License
-------

[](#license)

Distributed under the [MIT License](https://raw.githubusercontent.com/helsingborg-stad/subpath-to-subdomain-redirect/main/LICENSE).

Acknowledgements
----------------

[](#acknowledgements)

- [othneildrew Best README Template](https://github.com/othneildrew/Best-README-Template)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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 ~0 days

Total

3

Last Release

1279d ago

Major Versions

v0.0.2 → v1.0.02022-11-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/f46fe64973c3e89d15c745c0bf601c25983bafea81d30e64d4bf813a6f8c8c7c?d=identicon)[sebastianthulin](/maintainers/sebastianthulin)

### Embed Badge

![Health badge](/badges/helsingborg-stad-subdirectory-to-subdomain-redirect/health.svg)

```
[![Health](https://phpackages.com/badges/helsingborg-stad-subdirectory-to-subdomain-redirect/health.svg)](https://phpackages.com/packages/helsingborg-stad-subdirectory-to-subdomain-redirect)
```

###  Alternatives

[joshrainwater/active-users

A Laravel Package for easily retrieving a list of active users and guests that are currently online.

9119.8k](/packages/joshrainwater-active-users)[shkoliar/magento-ngrok

Magento 2 module for ngrok.io service support

5020.3k](/packages/shkoliar-magento-ngrok)[vojtech-dobes/nette-forms-gpspicker

Google Maps based picker of coordinates for Nette Framework.

2456.6k](/packages/vojtech-dobes-nette-forms-gpspicker)[owebia/magento1-module-shipping-free

The extension Advanced Shipping for Magento 1.x is the solution that helps you to configure the shipping fees in a very flexible manner.

2719.1k](/packages/owebia-magento1-module-shipping-free)[concretecms/composer

A fully featured skeleton for a composer managed Concrete site

3610.7k](/packages/concretecms-composer)[rumenx/php-chatbot

A modern, framework-agnostic PHP package for adding customizable, AI-powered chat popups to any web application. Includes adapters for Laravel and Symfony, supports multiple AI providers, and is easy to extend.

112.3k1](/packages/rumenx-php-chatbot)

PHPackages © 2026

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