vinkla / wordplate

A boilerplate for WordPress, built with Composer and designed with sensible defaults.
2.12k stars 155 forks source link

Redirect loop on install when using Laravel Valet #167

Closed robbens closed 7 years ago

robbens commented 7 years ago

I'm getting redirected from http://wordplate.dev to http://wordplate.dev/wordpress/wp-admin/install.php and then stuck in a redirect loop.

This is a fresh install with Laravel Valet 2.0.4 on PHP 7.1

vinkla commented 7 years ago

Sadly, Laravel Valet doesn't support WordPlate. You can read more about it here: https://github.com/laravel/valet/pull/131

Create a SiteValetDriver class in the root of the project and Valet will use that class to support WordPlate. Use the following class to make it work. Let me know how it works out.

robbens commented 7 years ago

Yup. That was a breeze setting up. Thanks!

Simply add the class mentioned by vinkla above to ~/.valet/Drivers. Boom!