2017 © Pedro Peláez
 

library multisite-directory-resolver

Adds filters that correct directory paths in a Wordpress multisite install with the WordPress installation in a custom subfolder.

image

gwa/multisite-directory-resolver

Adds filters that correct directory paths in a Wordpress multisite install with the WordPress installation in a custom subfolder.

  • Tuesday, July 5, 2016
  • by gwa
  • Repository
  • 3 Watchers
  • 4 Stars
  • 7,556 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 0 Forks
  • 2 Open issues
  • 14 Versions
  • 16 % Grown

The README.md

MultisiteDirectoryResolver

Adds filters that correct directory paths in a Wordpress multisite install with the WordPress installation in a custom subfolder., (*1)

Master

Quality Score Build Status, (*2)

Develop

Quality Score Build Status, (*3)

Usage

Requirements

PHP 5.4.0 or above, (*4)

Installation

Install through composer., (*5)

composer require gwa/multisite-directory-resolver

How to use

// project root: path/to/project
// wp install:   path/to/project/custom/install/path

// choose which resolver you like to use
// 1. MultisiteResolverManager::TYPE_FOLDER - Use only for sub folder url handling -> example.com/site1/../..
// 2. MultisiteResolverManager::TYPE_SUBDOMAIN - Use only for sub domain handling -> test.example.com

$mdr = new Gwa\Wordpress\MultisiteDirectoryResolver('custom/install/path', $resolver);
$mdr->init();

Set you cookie like this to resolve the wordpress multisite redirect Loop., (*6)

define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']);
define('ADMIN_COOKIE_PATH', '/');

Contributing

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code., (*7)

Fork the project, create a feature branch, and send us a pull request., (*8)

To ensure a consistent code base, you should make sure the code follows the Coding Standards which we borrowed from Symfony., (*9)

The easiest way to do make sure you're following the coding standard is to run vendor/bin/php-cs-fixer fix before committing., (*10)

If you would like to help take a look at the list of issues., (*11)

Authors

Great White Ark - bannert@greatwhiteark.com - http://www.greatwhiteark.com
, (*12)

License

The Narrowspark framework is open-sourced software licensed under the MIT license, (*13)

The Versions

05/07 2016

2.2.x-dev

2.2.9999999.9999999-dev https://github.com/gwa/WpMultisiteDirectoryResolver

Adds filters that correct directory paths in a Wordpress multisite install with the WordPress installation in a custom subfolder.

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress multisite composer

12/01 2016

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/gwa/WpMultisiteDirectoryResolver

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

wordpress multisite composer

12/01 2016

2.0.x-dev

2.0.9999999.9999999-dev https://github.com/gwa/WpMultisiteDirectoryResolver

Adds filters that correct directory paths in a Wordpress multisite install with the WordPress installation in a custom subfolder.

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress multisite composer

06/01 2016

v2.2.0

2.2.0.0 https://github.com/gwa/WpMultisiteDirectoryResolver

Adds filters that correct directory paths in a Wordpress multisite install with the WordPress installation in a custom subfolder.

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress multisite composer

06/01 2016

dev-master

9999999-dev https://github.com/gwa/WpMultisiteDirectoryResolver

Adds filters that correct directory paths in a Wordpress multisite install with the WordPress installation in a custom subfolder.

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress multisite composer

14/10 2015

v2.1.0

2.1.0.0 https://github.com/gwa/WpMultisiteDirectoryResolver

Adds filters that correct directory paths in a Wordpress multisite install with the WordPress installation in a custom subfolder.

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress multisite composer

30/09 2015
23/07 2015
20/07 2015
20/07 2015
21/05 2015
21/05 2015
05/05 2015
05/05 2015