Enable HSTS Preload for a WordPress website - Enable HSTS Preload for a WordPress website

Enable HSTS Preload for a WordPress website

To enable HSTS Preload on a WordPress website (https://hstspreload.org/?domain=wpxss.com) you need to add the following code snippet in the .htaccess file: If you have access to the server settings *(You are using a VPS or DEDICATED server) then you can enable it server-wide for all domains by adding the snippet to the /etc/apache2/conf.d/includes/pre_main_global.conf file TIP: … Read full article →

wpcli custom php version - Download WP-CLI & set custom PHP Version

Download WP-CLI & set custom PHP Version

Recently I was migrating a website from GoDaddy shared hosting using WP-CLI and noticed the PHP version in cli was outdated. Here is how to install WP-CLI and set custom PHP version for the cli. Setup WP-CLI To download WP cli: To run it use php wp-cli.phar To make it easier to call We’ll rename … Read full article →

How to Identify if My WordPress Website is Hacked - How to Identify if My WordPress Website is Hacked?

How to Identify if My WordPress Website is Hacked?

This is one of the most-asked questions that I get emailed from people that read some posts from my Types of WordPress Malware Attacks and What They Do series. 99% of the time website owners are the last ones to find out that their WordPress websites are hacked, after visitors, Google, website scanners, and their … Read full article →

installatron wp - How To Install WordPress Using cPanel and Installatron

How To Install WordPress Using cPanel and Installatron

Installatron allows you to easily with a few clicks install any application in your hosting account, and the installation process is the same for many applications. To install WordPress, follow these steps: Step 1. In the “Software” section of the cPanel, click the Installatron icon. Step 2. Click on the “Application Browser” > WordPress Step … Read full article →

How to delete all comments in WordPress - How to delete all comments in WordPress? 🗑️💬

How to delete all comments in WordPress? 🗑️💬

WordPress uses the wp_commentmeta and wp_comments tables to store comments and their data. To delete all comments in WordPress simply empty those tables in the database: To delete all spam comments use: To delete all unapproved comments use: NOTE: In the above commands change wp_ prefix with the table prefix that you are using *(view … Read full article →

Best WordPress membership plugins - Best WordPress 👥 membership plugins

Best WordPress 👥 membership plugins

Using a WordPress membership plugin to earn revenue through paid memberships is a fantastic idea. They provide you the option of restricting access to some or all content to subscribers only. Subscription payments can be one-time or ongoing, with the latter providing a stable source of income. Types of membership sites WordPress membership sites (also … Read full article →

WordPress Caching Plugins Compared - WordPress Caching Plugins Comparisons

WordPress Caching Plugins Comparisons

I’ve been a WordPress user for over a decade and back at the beginning of my first WP blog (around 2010), I did a comparison between at the time most popular WordPress Caching plugins, and various caching methods: APC, XCache, and eAccelerator. Most of those plugins are long dead but some of their functions still … Read full article →