Chuyển tới nội dung chính

Configure Pro Settings

Pro Settings control how tenant sites are isolated and where their data is stored. These are defaults — individual tenants can override them later.

Navigate to Tenancy → Pro Settings (/wp-admin/admin.php?page=grabwp-tenancy-pro-settings).

Pro Settings page

Content Isolation Defaults

These settings determine what gets isolated for each new tenant.

SettingRecommendedWhat it does
Content + Themes IsolationOnEach tenant gets its own wp-content and themes directories
Plugins IsolationOff (for most setups)Each tenant gets its own plugins directory. Increases disk usage.
Uploads IsolationOnEach tenant gets its own uploads directory (media files)

Tip: Keep Plugins Isolation off unless tenants need different plugin sets. With it off, all tenants share the same plugins (controlled via Tenant Extensions), saving disk space.

Database Defaults

Choose how tenant databases are structured.

OptionBest forDescription
SharedGetting started, small scaleAll tenants share one MySQL database with table-prefix isolation. Simplest setup.
MySQL IsolatedProduction, complianceEach tenant gets a dedicated MySQL database. Better isolation but requires more database resources.
SQLite IsolatedLightweight tenantsEach tenant gets a SQLite file. No extra MySQL setup needed. Requires the SQLite Database Integration plugin.

For this tutorial: Start with Shared. You can migrate tenants to isolated databases later.

MySQL Isolated Settings (if selected)

If you choose MySQL Isolated, configure default credentials:

FieldDescription
MySQL HostDatabase server (e.g., localhost or localhost:3306)
MySQL DatabaseDefault database name for new tenants
MySQL UsernameDatabase user with CREATE TABLE permissions

Note: These are defaults. You can set per-tenant credentials when creating individual tenants.

Directory Configuration

Where GrabWP stores tenant data on disk.

FieldDefaultDescription
Tenant Base Dirwp-content/grabwp-tenancyRoot directory for tenant uploads and data
Pro Config Dirwp-content/grabwp-tenancy-proConfiguration files for each tenant
SQLite Database Dirwp-content/grabwp-tenancy-sqliteSQLite database files (if using SQLite isolation)

Usually the defaults are fine. Only change these if you need tenant data on a different partition or mount point.

You can also lock these paths via wp-config.php constants. If a constant is set, the field shows "set in wp-config.php" and cannot be changed from the UI.

Enable clean URLs for tenant content directories. Instead of serving tenant assets from a path like /wp-content/grabwp-tenancy/tenant-123/uploads/, symlinks let them appear under the tenant's own domain path.

FieldDescription
Enable Domain SymlinkTurn on symlink-based clean URLs. Requires symlink() PHP function.
Domains DirectoryAbsolute path where domain symlinks are created

Requires Nginx configuration. The settings page shows a copy-paste ready Nginx config block. Add it to your server configuration and reload Nginx.

For this tutorial: You can skip this initially and enable it later when setting up custom domains.

Object Storage (S3)

Offload tenant media to S3-compatible storage. This section is covered in detail in S3 Object Storage.

FieldDescription
Storage DriverLocal (default) or S3

For this tutorial: Leave as Local. Configure S3 later if needed.

Save Settings

Click Save Settings at the bottom of the page. A success message confirms the save.


Next: Configure WaaS General Settings