How to Change WordPress Domain Name Without Losing SEO Rankings (301 Redirects)

How to Change WordPress Domain Name Without Losing SEO Rankings (301 Redirects) - CpanelFree Guide

Quick Answer: To change your WordPress domain name without losing SEO rankings: 1) Clone your site to the new domain, 2) Update internal URLs with WP-CLI search-replace, 3) Implement a wildcard 301 Permanent Redirect on the old domain’s .htaccess file, 4) Submit the Change of Address request in Google Search Console, and 5) Submit updated … Read more

How to Move WordPress from Localhost (XAMPP / LocalWP) to Live Web Server

How to Move WordPress from Localhost (XAMPP / LocalWP) to Live Web Server - CpanelFree Guide

Quick Answer: To move WordPress from localhost (XAMPP/LocalWP) to a live web server: 1) Export your local database via phpMyAdmin (localhost/phpmyadmin), 2) Compress your local wp-content folder and WordPress core files into a ZIP archive, 3) Upload and extract the ZIP file into your live hosting public_html directory, 4) Create a MySQL database and user … Read more

Top 5 Free WordPress Migration Plugins in 2026 (Migrate in 1-Click)

Top 5 Free WordPress Migration Plugins in 2026 (Migrate in 1-Click) - CpanelFree Guide

Quick Answer: The best free WordPress migration plugin in 2026 for large sites is Migrate Guru, which executes multi-gigabyte transfers directly over external cloud servers with zero file size limits and zero hosting memory overhead. For standalone archive exports, Duplicator and WPvivid offer full database and media splitting at $0 cost. ⏱️ 5 min read … Read more

How to Migrate WordPress to a New Host Manually (Files, Database & DNS)

How to Migrate WordPress to a New Host Manually (Files, Database & DNS) - CpanelFree Guide

Quick Answer: To migrate WordPress to a new web host manually with zero plugins: 1) Compress your WordPress root directory into a tar.gz archive, 2) Export your MySQL database via mysqldump or phpMyAdmin, 3) Extract the files onto your new host’s public_html, 4) Create a new MySQL database/user and import the SQL dump, 5) Update … Read more

How to Reset MySQL Root Password on Linux VPS (Ubuntu / Debian / AlmaLinux)

How to Reset MySQL Root Password on Linux VPS (Ubuntu / Debian / AlmaLinux) - CpanelFree Guide

Quick Answer: To reset a lost MySQL/MariaDB root password on a Linux VPS: 1) Stop MySQL (sudo systemctl stop mariadb), 2) Start MySQL in safe mode with networking disabled (sudo mysqld_safe –skip-grant-tables –skip-networking &), 3) Connect without password (mysql -u root), 4) Run FLUSH PRIVILEGES; and ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘NewPassword123!’;, and 5) Kill … Read more

How to Run MySQLTuner on Linux Server to Find Database Performance Bottlenecks

How to Run MySQLTuner on Linux Server to Find Database Performance Bottlenecks - CpanelFree Guide

Quick Answer: MySQLTuner is a high-performance Perl script that audits your active MySQL/MariaDB instance in read-only mode and outputs tailored recommendations to optimize my.cnf. To run it on Linux, execute: wget http://mysqltuner.pl/ -O mysqltuner.pl && perl mysqltuner.pl. Ensure your database server has been running for at least 24 to 48 hours prior to running for … Read more

How to Set Up Automated Daily MySQL Database Backups with Cron Job

How to Set Up Automated Daily MySQL Database Backups with Cron Job - CpanelFree Guide

Quick Answer: To automate daily MySQL database backups, create a bash script executing mysqldump -u root -p’password’ –single-transaction –quick dbname | gzip > /var/backups/db_$(date +%F).sql.gz and schedule it in Linux crontab (crontab -e) to execute every night at 2:00 AM (0 2 * * * /path/to/backup.sh). ⏱️ 5 min read (908 words) 🛡️ Verified on … Read more

MySQL vs MariaDB vs PostgreSQL (2026): Which Database is Best for Web Apps?

MySQL vs MariaDB vs PostgreSQL (2026): Which Database is Best for Web Apps? - CpanelFree Guide

Quick Answer: For standard WordPress, PHP, and cPanel web hosting, MariaDB is the top recommendation due to its superior thread pooling, faster subquery performance, and 100% open-source licensing. For complex enterprise applications requiring sophisticated GIS data, concurrent JSONB indexing, and advanced stored procedures, PostgreSQL is the industry leader. MySQL 8.4 LTS remains the dependable enterprise … Read more

How to Repair and Optimize MySQL Database Tables via phpMyAdmin & WP-CLI

How to Repair and Optimize MySQL Database Tables via phpMyAdmin & WP-CLI - CpanelFree Guide

Quick Answer: To repair and optimize MySQL tables in WordPress, use WP-CLI by running wp db repair followed by wp db optimize. In phpMyAdmin, select all tables in your database and choose “Repair table” and “Optimize table” from the bottom action dropdown. On Linux VPS, execute mysqlcheck -u root -p –auto-repair –optimize –all-databases. ⏱️ 5 … Read more