This is a webroot directory .htaccess
file for setup, in which WordPress is installed in a wp-core
directory and wp-content
directory is moved outside a core directory.
{
"require": {
"piotrpress/wordpress-htaccess": "^1.1"
},
"scripts": {
"post-update-cmd": "cp -r vendor/piotrpress/wordpress-htaccess/res/* ./"
}
}
Check out example implementation in the piotrpress/wordpress package.
- Apache Server with
mod_rewrite
module enabled.