| 开发者 | taicv |
|---|---|
| 更新时间 | 2026年3月30日 02:15 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/grabwp-tenancy directoryrequire_once __DIR__ . '/wp-content/plugins/grabwp-tenancy/load.php';No, this plugin provides multi-tenancy functionality without requiring WordPress multisite. It creates tenant isolation through domain-based or path-based routing and database prefixes.
No! With our new path-based routing feature, you can completely bypass complex domain and DNS configurations. You can host tenants dynamically on subdirectories underneath your main site (e.g., yoursite.com/client-a).
Yes, you can configure custom domains for each tenant through the admin interface or by editing the tenant mapping file.
The plugin is designed to be compatible with most WordPress plugins. However, plugins that directly access database tables may need to be configured to work with tenant prefixes.
example.com/tenant1) without requiring separate domains. This completely eliminates the need for complex domain mappings and serves as a true, lightweight replacement for WordPress Multisite..htaccess diagnostic admin notices specifically tailored for path-based routing support.GrabWP_Tenancy_Installer class.wp_is_writable().Class Not Found) relating to the class autoloader sequence during the initial activation process.load.php require line before the stop-editing marker, or shows copy-to-clipboard fallback when wp-config.php is not writablewp-config.php loader, shown only on plugin pages, with writability-aware UI (auto-install vs. manual copy)grabwp_tenancy_validate_tenant_id() in Path Manager so validation works even when load-helper.php is not loadedmuPluginNonce, loaderNonce) into localized admin script databindCopyButton() helper, added initMuPluginInstall() and initLoaderInstall() handlers in grabwp-admin.jsload-helper.php base-dir resolution logic and added GRABWP_TENANCY_DIRS_FROM_PLUGIN constantgrabwp_tenancy_ prefix to avoid potential conflicts