Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 647 Bytes

readme.md

File metadata and controls

28 lines (19 loc) · 647 Bytes

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.

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