All-in-One WP Migration Settings Manager
A WordPress plugin to manage, export, and import All-in-One WP Migration plugin settings with enhanced security and backup features.
by Nurkamol Vakhidov · github.com/nurkamol/ai1wm-settings-manager
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/nurkamol/ai1wm-settings-manager/archive/refs/heads/main.zipReadme
All-in-One WP Migration Settings Manager
A WordPress plugin to manage, export, and import All-in-One WP Migration plugin settings with enhanced security and backup features.
📋 Plugin Information
- Plugin Name: All-in-One WP Migration Settings Manager
- Version: 2.0
- Author: Nurkamol Vakhidov
- Author Website: https://nurkamol.com
- WordPress Compatibility: 5.0+
- Tested up to: WordPress 6.4
- License: GPL v2 or later
- PHP Requirements: 7.4+
🚀 Features
Core Functionality
- ✅ Export AI1WM Settings - Download your configuration as JSON
- ✅ Import AI1WM Settings - Restore settings from JSON backup
- ✅ Automatic Backups - Creates safety backups before imports
- ✅ Settings Preview - View current AI1WM configuration in admin
Security Features
- ✅ Data Redaction - Optional masking of sensitive information (passwords, keys, tokens)
- ✅ CSRF Protection - WordPress nonce security for all actions
- ✅ File Validation - Strict JSON file validation and size limits (10MB max)
- ✅ Input Sanitization - Proper escaping and validation of all user inputs
- ✅ Permission Checks - Requires
manage_optionscapability
Advanced Features
- ✅ Metadata Tracking - Export includes WordPress version, site URL, timestamps
- ✅ Backup Management - Automatic cleanup of old backups (keeps last 5)
- ✅ Import Statistics - Shows imported vs skipped settings count
- ✅ Duplicate Prevention - Filters out plugin backup entries to prevent pollution
- ✅ Cross-site Warnings - Alerts when importing from different WordPress sites
🛠 Installation
Manual Installation
- Download the plugin files
- Upload to
/wp-content/plugins/ai1wm-settings-manager/directory - Activate the plugin through WordPress admin
- Go to Tools > AI1WM Settings Manager to use
Via WordPress Admin
- Upload the ZIP file through Plugins > Add New > Upload Plugin
- Activate the plugin
- Access via Tools > AI1WM Settings Manager
📖 Usage
Exporting Settings
- Navigate to Tools > AI1WM Settings Manager
- Choose export options:
- Redact sensitive values: Masks passwords and API keys
- Include metadata: Adds export information and timestamps
- Click Export Settings to download JSON file
Importing Settings
- Go to Tools > AI1WM Settings Manager
- Select your JSON backup file
- Click Import Settings
- Review import statistics and any warnings
Creating Backups
- Use the Download Backup button for complete settings backup
- Backups include metadata and are unredacted for full restoration
🔧 Technical Details
Database Operations
- Queries WordPress options table for AI1WM-related settings
- Uses prepared statements for security
- Excludes plugin's internal backup entries
- Automatic cleanup of temporary backup data
File Handling
- Supports only
.jsonfiles - Maximum file size: 10MB
- Validates JSON structure before processing
- Handles both legacy and new export formats
Security Measures
- WordPress nonce verification for all actions
- Capability checks on every request
- Sanitized output with
esc_html()andwp_kses_post() - Filtered dangerous WordPress core options during import
🎯 Use Cases
Website Migration
- Export AI1WM settings from staging site
- Import to production with same backup configuration
- Maintain consistent backup schedules across environments
Backup & Recovery
- Create safety backups before making changes
- Quick restore of working AI1WM configurations
- Share standardized backup settings across team
Development Workflow
- Export settings from development environment
- Distribute to team members for consistent setup
- Version control your backup configurations
🔍 Supported AI1WM Settings
The plugin manages all AI1WM-related WordPress options, including:
- Core AI1WM Settings: Secret keys, update checks, messages
- FTP Extension: Connection details, authentication, directories
- Scheduling: Backup frequencies, retention policies
- Notifications: Email alerts and error reporting
- File Management: Chunk sizes, backup limits
⚠️ Important Notes
Security Considerations
- Sensitive Data: Use redaction when sharing exports
- File Validation: Only import trusted JSON files
- Backup First: Plugin creates automatic backups before imports
- Cross-site Imports: Review warnings when importing from different sites
Compatibility
- AI1WM Dependency: Requires All-in-One WP Migration plugin
- Extensions Support: Works with AI1WM premium extensions
- WordPress Multisite: Single-site plugin (Network: false)
File Naming Convention
- Exports:
ai1wm-settings-YYYY-MM-DD-HH-MM-SS.json - Backups:
ai1wm-backup-YYYY-MM-DD-HH-MM-SS.json - Automatic: Timestamped for easy organization
🐛 Troubleshooting
Common Issues
"No AI1WM settings found"
- Ensure All-in-One WP Migration plugin is installed and configured
- Check that AI1WM has been used at least once to create settings
"Import failed" or "Invalid JSON"
- Verify file is valid JSON format
- Check file size is under 10MB limit
- Ensure file was exported from compatible plugin version
"Settings not applying"
- Clear any caching plugins after import
- Check WordPress user has
manage_optionscapability - Review import statistics for skipped items
Support
- GitHub Issues: Report bugs and feature requests
- Author Website: https://nurkamol.com for professional support
🤝 Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
Development Setup
- WordPress 5.0+ development environment
- All-in-One WP Migration plugin installed
- PHP 7.4+ for compatibility testing
📄 License
This plugin is licensed under the GPL v2 or later.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
🏷️ Tags
WordPress, Plugin, All-in-One WP Migration, AI1WM, Backup, Export, Import, Settings, Migration, Configuration, Security
📞 Contact
Author: Nurkamol Vakhidov
Website: https://nurkamol.com
GitHub: @nurkamol
⭐ If this plugin helps you, please consider starring the repository!