Monthly Archives: July 2015

WordPress: Install from Composer

Create a composer.json in project root directory and copy paste the following composer configuration. Then run composer install. Once done, copy wp/index.php to project root directory and update require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ ); to require( dirname( __FILE__ ) . ‘/wp/wp-blog-header.php’ );. Now run the WP at http://localhost/wp-project-root and continue with installation and you’re… Read More »