WordPress Package Folder Structure Requirements

When creating or modifying WordPress package folders, please use the guidelines below to ensure the site will provision as expected:

1. Create a custom folder under (/modules/addons/appprovisionwp/packages/) for your custom files that has the following similar folder structure:

 -- [Package Folder Name] (no spaces or special characters)

 ---- wpconfig.php (copy from the default folder if no changes are needed)

  ---- database.sql (copy from the default folder if no changes are needed)

  ---- /files/

  ------ /wp-content/

  -------- /languages/

  -------- /plugins/

  -------- /themes/

(e.g. /packages/mywordpress/files/wp-content/languages/[your_folders_or_files] or /packages/mywordpress/files/wp-content/plugins/[your_folders_or_files])

Note: The wp-content folder can contain multiple structure folders such as languages and plugins.

2. All files and folders contained within the "files" folder of the package will be provisioned to your client’s site and will override any default files provided with the initial WordPress install.

Note: We strongly recommend starting any custom package by using a copy of the default folder. 

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

RegEx Pattern Matching

As of WordPress Auto-Provision Module version 2.4, a new RegEx pattern matching feature allows...

Installation Steps

Getting Started Download and install the latest release of the WordPress Auto-Provision module...

Product Module Commands

Once a client has purchased a WordPress hosting account, the following module commands will be...

Product Addon Module Commands

If a WordPress site is provisioned using a product addon, there are no module commands available...

WordPress Single Sign-On (SSO)

As of WordPress Auto-Provision Module version 2.3, WHMCS administrators can now login to the web...