Step-by-Step Website Migration WHM to a Server Without a Panel

ON OLD WHM/cPanel SERVER 1. Login via SSH or File Manager Use SSH or cPanel File Manager. bash CopyEdit cd /home/USERNAME/public_html 2. Export the WordPress files bash CopyEdit tar -czf theinvestigatornews.com.ng_files.tar.gz . 3. Export the database First, get the database name from wp-config.php. Then run: bash CopyEdit mysqldump -u USERNAME -p DATABASE_NAME > theinvestigatornews.com.ng_db.sql Compress it: bash CopyEdit tar -czf …

Loading

How to Extract or Decompress wp-content.tar.gz Using the Linux Command Line

✏️ Excerpt: Learn how to extract .tar.gz or .zip backup files like wp-content.tar.gz using simple Linux terminal commands. This tutorial is perfect for WordPress developers, sysadmins, or anyone restoring website backups. πŸ“„ Post Content (HTML-Formatted for WordPress Editor): html Copy Edit πŸ“¦ How to Extract wp-content.tar.gz on Linux If you’re restoring a WordPress backup or moving files between servers, you …

Loading

Compressing wp-content Folder Using Linux Command Line

Compressing wp-content Folder Using Linux Command Line (ZIP & TAR.GZ Guide)

To compress the wp-content folder via terminal, use one of the following commands depending on your preferred archive format: πŸ”Ή To compress as .zip: bash CopyEdit zip -r wp-content.zip wp-content πŸ”Ή To compress as .tar.gz (recommended for Linux): bash CopyEdit tar -czvf wp-content.tar.gz wp-content πŸ”Ή To compress as .tar (uncompressed tarball): bash CopyEdit tar -cvf wp-content.tar wp-content These commands should …

Loading

How to Download and extract WordPress via Terminal

cd /tmp wget https://wordpress.org/latest.zip unzip latest.zip sudo mv wordpress/* /home/naomisophy/naomisophyblog.com.ng Replace this /home/naomisophy/naomisophyblog.com.ng with your website directory

Loading

How to Import a WordPress SQL Backup via Terminal (Example)

Let’s assume you are importing a SQL backup file for a website called exampleblog.com.ng. 🧾 Step-by-step Commands: bash CopyEdit # Step 1: Go to the directory where the SQL backup is located: cd /var/www/exampleblog.com.ng/public_html πŸ“‚ This moves you into the folder where your .sql.gz file is stored. bash CopyEdit # Step 2: Decompress the SQL backup file: gunzip exampleblog_dbbackup.sql.gz πŸ—œ …

Loading

How to View All WordPress Users in Your Database Using Terminal

To see a list of all WordPress users in your database (zzle_wu3), you’ll need to run a SQL query on the wp_users table. 🧾 MySQL Command: bash CopyEdit mysql -u root -p -e “SELECT ID, user_login, user_email, user_registered FROM zzle_wu.wp_users;” πŸ” You will be prompted to enter your MySQL root password. πŸ“‹ What This Displays: ID: The unique identifier for …

Loading

Terminal: How to Change a WordPress User Password via MySQL (User: coic)

πŸ” How to Change WordPress Admin Password via MySQL (User: coip) Last updated: July 3, 2025 🧰 Requirements Access to your Linux server (SSH or terminal) MySQL root access or database credentials WordPress database name: zzle_wu πŸ›  Resetting the Password Using MySQL Run the following command to reset the password for the user coic: mysql -u root -p -e “UPDATE …

Loading