2017 © Pedro Peláez
 

wordpress-muplugin wp-hercules

Simple domain mapping for top domains

image

isotopsweden/wp-hercules

Simple domain mapping for top domains

  • Monday, January 16, 2017
  • by fredrikforsmo
  • Repository
  • 3 Watchers
  • 13 Stars
  • 4,846 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 7 % Grown

The README.md

Hercules Build Status

Requires PHP 5.5.9 and WordPress 4.5, (*1)

Simple domain mapping for top domains., (*2)

Installation

composer require isotopsweden/wp-hercules

Usage

Create wp-content/sunrise.php, (*3)

<?php

// Default mu-plugins directory if you haven't set it.
defined( 'WPMU_PLUGIN_DIR' ) or define( 'WPMU_PLUGIN_DIR', WP_CONTENT_DIR . '/mu-plugins' );

require WPMU_PLUGIN_DIR . '/wp-hercules/sunrise.php';

Additionally, in order for sunrise.php to be loaded, you must add the following to your wp-config.php:, (*4)

define( 'SUNRISE', 'on' );

Create new site

With Hercules installed you should use wp-cli to add new site instead of network/site-new.php, this is because that Hercules modifies wp site create command so you can add a domain instead of just a slug, SUBDOMAIN_INSTALL should be set to true, (*5)

wp site create --slug=example.com

License

MIT © Isotop, (*6)

The Versions

16/01 2017

dev-master

9999999-dev https://github.com/isotopsweden/wp-hercules

Simple domain mapping for top domains

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin wordpress

07/12 2016

v1.1.0

1.1.0.0 https://github.com/isotopsweden/wp-hercules

Simple domain mapping for top domains

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin wordpress

15/08 2016

v1.0.0

1.0.0.0 https://github.com/isotopsweden/wp-hercules

Simple domain mapping for top domains

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin wordpress