How to Optimize WordPress wp_options Table and Delete Bloated Transients

How to Optimize WordPress wp_options Table and Delete Bloated Transients - CpanelFree Guide

Quick Answer: To optimize a bloated wp_options table and eliminate slow WP-Admin loading times, delete expired transients using WP-CLI (wp transient delete –all), identify and disable massive autoloaded options over 100 KB with SQL queries, and defragment the MySQL database table with OPTIMIZE TABLE wp_options;. ⏱️ 5 min read (950 words) 🛡️ Verified on Ubuntu … Read more

How to Fix High TTFB (Time to First Byte) in WordPress: 7 Actionable Fixes

How to Fix High TTFB (Time to First Byte) in WordPress: 7 Actionable Fixes - CpanelFree Guide

Quick Answer: To fix high TTFB (Time to First Byte) in WordPress, deploy a server-level full page cache (LiteSpeed Cache, FastCGI, or Cloudflare Edge Cache), upgrade to PHP 8.3 with OPcache enabled, clean up autoloaded queries in the wp_options table, connect a Redis Object Cache, and host on high-speed NVMe storage. ⏱️ 5 min read … Read more

How to Automatically Convert and Serve WebP & AVIF Images in WordPress

How to Automatically Convert and Serve WebP & AVIF Images in WordPress - CpanelFree Guide

Quick Answer: To automatically convert and serve next-gen WebP and AVIF images in WordPress without manual coding, install LiteSpeed Cache (with QUIC.cloud integration) or the free Converter for Media plugin. Enable automatic conversion on upload and configure Nginx / .htaccess rewriting to serve WebP/AVIF dynamically to modern browsers. ⏱️ 5 min read (943 words) 🛡️ … Read more

Redis Object Cache vs Memcached: Which is Faster for High-Traffic WordPress?

Redis Object Cache vs Memcached: Which is Faster for High-Traffic WordPress? - CpanelFree Guide

Quick Answer: Redis Object Cache is the clear winner for modern WordPress and WooCommerce websites. Redis supports rich data structures (hashes, lists, sets), disk persistence, and atomic cache operations, preventing cache stampedes and reducing database queries by up to 90%. Memcached remains viable for simple key-value lookups on massive multi-core servers, but lacks Redis’s advanced … Read more

How to Configure LiteSpeed Cache (LSCache) for 100/100 Google PageSpeed Score

How to Configure LiteSpeed Cache (LSCache) for 100/100 Google PageSpeed Score - CpanelFree Guide

Quick Answer: To achieve a 100/100 Google PageSpeed score with LiteSpeed Cache (LSCache), enable Guest Mode and Guest Optimization, turn on CSS/JS Minification and Combine, configure Unique CSS (UCSS) with Critical CSS generation, enable JS Delay (Load JS Deferred), and connect a Redis Object Cache database socket. ⏱️ 5 min read (909 words) 🛡️ Verified … Read more

Top 5 Free Web Application Firewalls (WAF) for Linux Servers in 2026

Top 5 Free Web Application Firewalls (WAF) for Linux Servers in 2026 - CpanelFree Guide

Quick Answer: The top 5 open-source and free Web Application Firewalls (WAF) for Linux servers in 2026 are ModSecurity (with OWASP Core Rule Set), Coraza WAF, BunkerWeb, Cloudflare Free WAF, and NAXSI. For Nginx and OpenLiteSpeed web servers, ModSecurity and Coraza offer the highest detection rates against SQL injection (SQLi), Cross-Site Scripting (XSS), and zero-day … Read more

How to Set Up Two-Factor Authentication (2FA) for SSH Logins on Linux VPS

How to Set Up Two-Factor Authentication (2FA) for SSH Logins on Linux VPS - CpanelFree Guide

Quick Answer: To enable Two-Factor Authentication (2FA) for SSH on Ubuntu/Debian, install libpam-google-authenticator, run google-authenticator to generate your QR code and secret key, configure /etc/pam.d/sshd with auth required pam_google_authenticator.so, update /etc/ssh/sshd_config to enable KbdInteractiveAuthentication yes, and restart OpenSSH. ⏱️ 5 min read (928 words) 🛡️ Verified on Ubuntu 24.04 / Debian 12 🔄 Updated for … Read more

How to Protect Your Web Server from Layer 7 DDoS Attacks with Cloudflare & UFW

How to Protect Your Web Server from Layer 7 DDoS Attacks with Cloudflare & UFW - CpanelFree Guide

Quick Answer: To protect a Linux web server from Layer 7 application-layer DDoS attacks (HTTP floods), route DNS traffic through Cloudflare Proxy (Orange Cloud) and lock down your server’s UFW firewall so that port 80 and 443 only accept connections from Cloudflare’s published IP ranges, preventing attackers from bypassing the CDN proxy. ⏱️ 5 min … Read more

How to Disable Root SSH Login and Create a Sudo User on Ubuntu (Best Practices)

How to Disable Root SSH Login and Create a Sudo User on Ubuntu (Best Practices) - CpanelFree Guide

Quick Answer: To disable root login on Ubuntu, create a new administrative user (adduser deployer), add the user to the sudo group (usermod -aG sudo deployer), copy authorized SSH keys to /home/deployer/.ssh/, edit /etc/ssh/sshd_config to set PermitRootLogin no, and restart OpenSSH with sudo systemctl restart ssh. ⏱️ 5 min read (915 words) 🛡️ Verified on … Read more

How to Scan Linux Server for Malware and Backdoors (ClamAV & Maldet Tutorial)

How to Scan Linux Server for Malware and Backdoors (ClamAV & Maldet Tutorial) - CpanelFree Guide

Quick Answer: To scan a Linux server for malware and backdoors, install Linux Malware Detect (LMD/Maldet) paired with the ClamAV binary scanning engine. Update threat signatures with maldet -u, execute a full scan on your web directories with maldet -a /var/www/, and inspect quarantined malicious files with maldet –report. ⏱️ 5 min read (957 words) … Read more