piotrpress/wordpress-htaccess

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.

v1.1.1 2023-03-21 17:56 UTC

This package is auto-updated.

Last update: 2024-12-21 21:57:59 UTC


README

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.

Installation via composer.json file

{
  "require": {
    "piotrpress/wordpress-htaccess": "^1.1"
  },
  "scripts": {
    "post-update-cmd": "cp -r vendor/piotrpress/wordpress-htaccess/res/* ./"
  }
}

Resources

Check out example implementation in the piotrpress/wordpress package.

Requirements

  • Apache Server with mod_rewrite module enabled.

License

MIT