From b0045f6d2967a6c17c9b0bdad7e4662785522f23 Mon Sep 17 00:00:00 2001 From: anolilab Date: Thu, 21 May 2015 14:06:45 +0200 Subject: [PATCH] #15 fixes --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0e6246f..c66ea1e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Install through composer. composer require gwa/multisite-directory-resolver ``` -### Init +### How to use ```php // project root: path/to/project @@ -35,6 +35,15 @@ $mdr = new Gwa\Wordpress\MultisiteDirectoryResolver('custom/install/path'); $mdr->init(); ``` +Set you cookie like to resolve the [wordpress multisite redirect Loop](https://tommcfarlin.com/resolving-the-wordpress-multisite-redirect-loop/) + +```php +define('ADMIN_COOKIE_PATH', '/'); +define('COOKIE_DOMAIN', ''); +define('COOKIEPATH', ''); +define('SITECOOKIEPATH', ''); +``` + ## Contributing All code contributions - including those of people having commit access -