=== Migratico Lite === Contributors: superweby Donate link: https://migratico.com Tags: migration, backup, clone, move, transfer Requires at least: 5.3 Tested up to: 6.9 Stable tag: 2.4.2 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html The simple and reliable WordPress migration plugin. Quickly backup, migrate, copy, move, or clone your site from one location to another. == Description == #### WordPress Migration & Backup Plugin [Migratico Lite](https://migratico.com) provides a simple way to move WordPress sites, create reliable backups, or clone a site for development. With Migratico, you can easily migrate, transfer, or clone your WordPress site between domains or hosts with no downtime. Create full backups of your website, or package your entire site to download and install elsewhere with only a few steps. At Migratico, reliability, security, and ease of use are our top priorities. Our intuitive migration wizard and real-time progress tracking make Migratico one of the most beginner-friendly backup and migration plugins on the market. You don't have to hire a developer. Create a backup and migrate sites in just a few minutes. #### Easy Site Migration, Backup, and Cloning Migratico streamlines site migrations by packaging your website files and database into downloadable archives. Download and re-install your backup on any new WordPress location or server without dealing with complicated setups. The installer works on an empty server - no need to install WordPress first. #### Fast WordPress Migrations Migratico makes [WordPress website migrations](https://migratico.com/wordpress-migration/) fast and stress-free. Quickly move to a new host, domain, or server. No downtime, no data loss, and no coding required. #### Reliable WordPress Backups Create complete backups of your WordPress site including database and files. Perfect for: - Pre-update backups - Development site copies - Disaster recovery - Moving to new hosting #### WooCommerce Migration Support Migratico offers reliable WooCommerce migration and backup. Easily migrate your entire online store including: - Products and categories - Orders and customers - Payment settings - Custom product data #### Large Database Support Migratico handles databases of any size with automatic timeout recovery: - Chunk-based import prevents memory issues - Automatic resume after PHP timeouts - No file size limits - Tested with databases over 1GB #### Real-time Progress Tracking Watch your migration in real-time with streaming progress updates: - Live progress bar during installation - Detailed status messages - Automatic recovery from timeouts - Up to 50 automatic resume attempts #### Smart Migration Wizard Migratico's smart migration wizard makes transferring your website effortless: - 4-step installation process - Environment compatibility check - Database connection testing - Automatic URL rewriting - wp-config.php updates #### Clone WordPress Website Migratico clones your entire WordPress website quickly and easily. Perfect for: - Staging sites - Development environments - Testing updates - Client demos #### Key Features - **Complete Site Export** - Database and files in one package - **Automatic ZIP Splitting** - Large sites split into manageable archives - **Real-time Progress** - Live updates during installation - **Auto-Resume** - Continues after server timeouts - **Smart URL Rewriting** - Updates all URLs automatically - **Database Connection Test** - Verify settings before installation - **Multi-language** - Available in Czech, German, and English - **No External Dependencies** - Everything runs on your server - **Security Focused** - No data sent to external servers #### Who Should Use Migratico? Migratico is perfect for: - **Website Owners** moving to new hosting - **Developers** creating staging sites - **Agencies** migrating client sites - **E-commerce Sites** with large databases - **Anyone** needing reliable WordPress backups == Installation == 1. Upload the `migratico` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Navigate to "Migratico Lite" in the admin menu == Usage == ### Creating a Migration Package 1. Go to **Migratico Lite > Create Package** 2. Enter a package name 3. Set maximum ZIP file size (recommended: 100MB for most hostings) 4. Optionally exclude directories (cache, logs, etc.) 5. Click **Create Package** and wait for completion ### Downloading the Package 1. Go to **Migratico Lite** main page 2. Click download buttons for your created package: * `migratico.php` - Installation wizard * `database.sql.zip` - Database export * `files_001.zip`, `files_002.zip`, etc. - Site files ### Installing on New Server 1. Upload all package files to your new server 2. Open `migratico.php` in your browser 3. Follow the 4-step wizard: * **Step 1:** Environment check * **Step 2:** Database settings (with connection test) * **Step 3:** Site settings * **Step 4:** Installation with real-time progress 4. After successful installation, delete all package files for security == Screenshots == 1. **Admin Dashboard** - Main interface showing package management and statistics 2. **Create Package** - Package creation form with export options 3. **Package List** - Overview of created packages with download links 4. **Site Statistics** - Detailed statistics about your WordPress installation 5. **Installer Step 1** - Environment check before installation 6. **Installer Step 2** - Database configuration with connection testing 7. **Installer Step 3** - Site settings configuration 8. **Installer Step 4** - Real-time installation progress with streaming updates == Frequently Asked Questions == = Who Should Use Migratico? = Migratico is perfect for website owners, developers, and agencies who need to: - Migrate WordPress sites to new hosting - Create development or staging copies - Backup sites before updates - Clone sites for testing - Move WooCommerce stores = What's required to use Migratico? = Minimum requirements: - WordPress 5.3 or higher - PHP 7.4 or higher - ZipArchive PHP extension - Sufficient disk space for backups Most modern hosting providers meet these requirements. = Do I need coding skills to use Migratico? = No! Migratico is designed for users of all skill levels. The 4-step wizard guides you through the entire process with clear instructions and real-time progress updates. = Will Migratico slow down my website? = No. Migratico only runs when you're creating a backup or during installation. It has no impact on your site's front-end performance. = Can I migrate WooCommerce sites? = Yes! Migratico fully supports WooCommerce migrations including: - Products and categories - Orders and customers - Payment gateway settings - Custom product data - Large product catalogs = How long does migration take? = Migration time depends on your site size: - Small sites (< 100MB): 1-5 minutes - Medium sites (100MB-1GB): 5-20 minutes - Large sites (1GB+): 20+ minutes Progress is shown in real-time during the process. = What if the installation gets stuck? = Migratico has automatic timeout recovery: - PHP timeouts are handled automatically - Progress is saved every few seconds - Installation resumes from where it stopped - Up to 50 automatic resume attempts = Can I migrate large databases? = Yes! Migratico supports databases of any size: - Chunk-based import prevents memory issues - Automatic resume after timeouts - No file size limits - Tested with databases over 1GB = Does it update all URLs? = Yes, comprehensive URL rewriting includes: - WordPress core URLs (siteurl, home) - Post content URLs - Custom field URLs - wp-config.php constants - Serialized data in options and postmeta = Is it safe to use? = Yes! Security features include: - No data sent to external servers - Protected export files with .htaccess - Secure installation process - Files should be deleted after migration = What hosting providers are supported? = Migratico works on all modern hosting: - Shared hosting (Hostinger, Bluehost, SiteGround) - VPS and dedicated servers - Cloud hosting (AWS, DigitalOcean) - Local development (XAMPP, Local, MAMP) = Can I exclude files from export? = Yes, you can exclude: - Cache directories - Log files - Temporary files - Specific plugins or themes - Upload directories = How do I restore from backup? = Restoration uses the same installer: 1. Upload migratico.php and ZIP files 2. Run the installer wizard 3. Your site is restored to backup state = Where can I get support? = Support is available at: - [Support Forum](https://wordpress.org/support/plugin/migratico-lite/) - [Documentation](https://migratico.com/docs/) - [Contact Form](https://migratico.com/support/) = Is there a knowledge base? = Yes! Visit [migratico.com/docs](https://migratico.com/docs/) for: - Installation guides - Troubleshooting tips - Video tutorials - Best practices == Changelog == = 2.4.0 - 2026-02-28 = * Changed: WordPress.org Compliance - Installer template system (same approach as Duplicator) * Changed: Renamed installer/migratico-installer.php to installer/installer.tpl * Changed: Template-based installer generation during export * Removed: define('ABSPATH') from template * Fixed: MIGRATICO_INSTALLER_DIR now uses dirname(__FILE__) instead of ABSPATH * Fixed: HTML output instead of echo for script/style tags * Added: htmlspecialchars() for inline CSS and JavaScript content * Improved: WordPress.org coding standards compliance = 1.5.3 = * Fixed: Progress bar now works reliably during installation with proxy buffer handling * Added: Fallback polling system for environments where streaming doesn't work * Improved: MINFO marker padding to force through proxy buffers = 1.5.2 = * Fixed: Critical bug preventing installation restart loop after successful completion * Added: Proper cleanup of state files and session data after installation * Improved: Session management to prevent stuck installations = 1.5.1 = * Fixed: Gateway timeout handling for large database imports * Added: JavaScript watchdog timer for stalled connections * Improved: PHP timeout management (reduced from 120s to 90s) = 1.5.0 = * Changed: Complete rewrite of installation progress system with streaming * Added: Real-time progress updates using XMLHttpRequest.onprogress * Added: Automatic resume after PHP timeouts (up to 50 attempts) * Added: Better URL rewriting including wp-config.php constants * Improved: Large database support with chunk-based import = 1.4.5 = * Fixed: Auto-resume for large database imports stuck after timeout * Added: JavaScript logic to automatically trigger continue when needed * Improved: Database import reliability for very large datasets = 1.4.4 = * Fixed: File extraction progress now shows actual progress * Added: Progress calculation based on total ZIP entries * Improved: Progress bar accuracy for multi-file extractions = 1.4.3 = * Fixed: Admin (/wp-admin) redirect to old domain after migration * Added: Comprehensive URL verification after database updates * Improved: wp-config.php constant rewriting (WP_HOME, WP_SITEURL) = 1.4.2 = * Fixed: Progress bar rewritten to work reliably across all hostings * Added: Static JSON polling fallback for proxy compatibility * Removed: Complex polling logic replaced with sequential requests = 1.4.0 = * Changed: Complete rewrite of progress polling architecture * Added: Separate AJAX endpoint for import continuation * Fixed: 504 Gateway Timeout errors during large database imports * Improved: Real-time progress updates without blocking = 1.3.9 = * Fixed: Critical 504 Gateway Timeout during large database imports * Added: Background processing for long-running imports * Improved: Non-blocking AJAX responses = 1.3.8 = * Fixed: Progress bar not updating during fast installations * Added: Immediate polling start when installation begins * Improved: Visual feedback with 1% progress on start = 1.3.7 = * Added: Visual Debug Panel for troubleshooting progress bar issues * Improved: Real-time monitoring of polling status * Added: Debug information display during installation = 1.3.6 = * Fixed: "MySQL server has gone away" error during URL replacement * Added: Automatic database connection re-establishment * Improved: Error handling for long-running operations = 1.3.5 = * Fixed: ZIP file verification failing with "0 root files" error * Added: Directory filtering in ZIP content verification * Improved: Debug logging for ZIP structure analysis = 1.3.4 = * Changed: Progress bar updates every 5% instead of every 10,000 statements * Added: Percentage-based progress calculation * Improved: More predictable progress updates = 1.3.3 = * Fixed: Incorrect wp-config.php path detection * Added: Proper WordPress root directory detection * Improved: Configuration file path resolution = 1.3.2 = * Fixed: Progress bar not showing during database import * Added: Explicit status setting for installation progress * Improved: Progress reporting reliability = 1.3.1 = * Fixed: Session expiration causing lost database credentials * Added: Persistent storage of installation data * Improved: Recovery mechanism for interrupted installations = 1.3.0 = * Added: True line-by-line SQL import with memory efficiency * Improved: Large database handling without memory exhaustion * Added: Progress tracking for database import operations = 1.2.7 = * Fixed: Memory exhaustion for large database files * Added: ZIP extraction to temporary files before import * Improved: Memory usage for large SQL files = 1.2.6 = * Fixed: Progress bar stuck at 0% during file extraction * Added: Progress calculation based on file count * Improved: User feedback during long operations = 1.2.5 = * Fixed: File extraction progress reporting * Added: Real-time progress updates during ZIP extraction * Improved: Progress bar accuracy = 1.2.4 = * Fixed: Progress bar not updating after PHP process restart * Added: Session-based progress persistence * Improved: Installation state management = 1.2.3 = * Added: Database connection test before installation * Added: HTTPS as default protocol for new sites * Improved: Installation wizard user experience = 1.2.2 = * Added: Multi-language support (Czech, German, English) * Improved: Translation system implementation * Added: Language files for better internationalization = 1.2.1 = * Fixed: Progress bar display issues * Added: Better CSS styling for installation wizard * Improved: User interface consistency = 1.2.0 = * Added: Progress bar for installation wizard * Added: Real-time progress updates * Improved: User feedback during installation = 1.1.9 = * Initial release with core migration functionality * Basic export/import features * Simple admin interface == Upgrade Notice == = 1.5.3 = This version fixes critical progress bar issues. Upgrade immediately for reliable installations. = 1.5.0 = Major rewrite of installation system with streaming progress. Backup before upgrading. = 1.4.0 = Complete rewrite of progress system. Test on staging before production upgrade. == Credits == Developed by Miroslav Novotny Website: https://migratico.com Support: https://migratico.com/support == License == This plugin 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 plugin 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.