Installation Guide - GrabWP Tenancy
Prerequisites
Before starting, ensure you have:
- WordPress 5.0 or later
- PHP 7.4 or later
- Admin access to WordPress
- Access to edit wp-config.php
- Basic WordPress knowledge
Important: Backup First
Always backup your website before making changes:
- Database backup
- WordPress files backup
- Copy of your current wp-config.php
Installing the Plugin
Through WordPress Admin (Recommended)
- Go to Plugins → Add New
- Search for "GrabWP Tenancy"
- Click "Install Now"
- Click "Activate"
Manual Upload
- Download the plugin ZIP file
- Go to Plugins → Add New → Upload Plugin
- Choose the ZIP file
- Click "Install Now"
- Click "Activate Plugin"
Required: wp-config.php Setup
The plugin needs to load early, before WordPress starts. This step is critical.
-
Find your wp-config.php file in your WordPress root directory
-
Locate this line:
/* That's all, stop editing! Happy publishing. */
- Add this code BEFORE that line:
// GrabWP Tenancy - Early Loading if ( file_exists( __DIR__ . '/wp-content/plugins/grabwp-tenancy/load.php' ) ) { require_once __DIR__ . '/wp-content/plugins/grabwp-tenancy/load.php'; }
Your wp-config.php should look like this:
// ... other wp-config.php settings ... // GrabWP Tenancy - Early Loading if ( file_exists( __DIR__ . '/wp-content/plugins/grabwp-tenancy/load.php' ) ) { require_once __DIR__ . '/wp-content/plugins/grabwp-tenancy/load.php'; } /* That's all, stop editing! Happy publishing. */ require_once ABSPATH . 'wp-settings.php';
Verify the Installation
-
Check Plugin Status
- Go to Plugins page
- "GrabWP Tenancy" should show as Active
- No error messages should appear
-
Check Admin Menu
- Look for "Tenancy" in the left sidebar
- Click it to see the tenant management area
-
Check Your Website
- Visit your main website
- Everything should load normally
- No error messages should appear
Common Issues
Plugin Menu Not Showing
- Check if wp-config.php code was added correctly
- Make sure it's before "That's all, stop editing!"
- Verify the plugin folder is named exactly "grabwp-tenancy"
File Not Found Error
- Check if the plugin is in wp-content/plugins/grabwp-tenancy
- Verify the folder name is exactly "grabwp-tenancy"
- Make sure all plugin files are present
Website Shows Errors
- Restore your backup wp-config.php
- Try adding the code again
- Check for proper PHP syntax
Can't Edit wp-config.php
- Try using FTP or file manager
- Check file permissions (should be 644)
- Contact your hosting provider for help
Next Steps
After successful installation:
- Create your first website
- Set up domain names
- Test the system