Skip to content

andrewminion-luminfire/WordPressMultisiteSubdirectoryValetDriver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

WordPress Multisite Subdirectory Valet Driver

A custom driver for Laravel Valet that adds compatibility for WordPress multisite installs that use the subdirectory configuration.

Compatibility

Valet Version Driver Version
3.x 1.x
4.x 2.x

Installation

  1. Clone this repo
  2. cd WordPressMultisiteSubdirectoryValetDriver
  3. cp WordPressMultisiteSubdirectoryValetDriver.php ~/.config/valet/Drivers
  4. Make sure your wp-config.php file has at least one of WP_ALLOW_MULTISITE or MULTISITE constants defined.
  5. Celebrate the pain you just avoided!

Installs with WordPress root files in a subdirectory

If your install has WordPress root files in a subdirectory (such as a submodule), simply change the class property $wp_root from false to the root directory name.

About

A Laravel Valet Driver for WordPress Multisite (with subdirectory configuration)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%