-
Notifications
You must be signed in to change notification settings - Fork 0
Modifying installation path
Jeremy Mouton edited this page Jul 8, 2015
·
1 revision
By default, Wordpress core will be installed inside /wp/.
To modify the install path, you'll need to edit:
"webroot-dir": "wp",
define( 'ABSPATH', dirname( __FILE__ ) . '/wp/' );
require( dirname( __FILE__ ) . '/wp/wp-blog-header.php' );
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) wp/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ wp/$2 [L]