Categories
General

How to block PetalBot using Cloudflare

PetalBot is a website crawling bot of the Petal search engine. I have recently noticed in one of the news websites that I manage started getting a large number of requests from the bot. It kept getting worse, to the point that it started increasing the server load. So, I finally had to block the

Categories
Plugins WordPress Security

The best Free Anti-Spam plugin to protect your website against comment spam in 2023

I have worked on 100s of WordPress-based websites in the last 12 years and from my experience, I can say, there is one WordPress plugin, that’s easy to set up and works wonderfully to fight against comment spam. It’s called Antispam Bee. Antispam Bee has minimal settings that you need to worry about, and once

Categories
Cloud Server

How to restore the real IP address of the visitor if your web application is behind Cloudflare

If your web application is behind Cloudflare and you try to access the IP address of the visitor in your application, it will always show Cloudflare IP addresses, to fix this, you need to replace the Cloudflare IP address with the real IP address of the respective visitor. Cloudflare IP addresses : First of all,

Categories
Update

How to fix: “WordPress 6.x.x is available! Please notify the site administrator”. or Not being able to update or delete WordPress core or the plugins.

Go to your WordPress website’s wp-config.php file and check, if you have define( ‘DISALLOW_FILE_MODS’, true ); . This stops WordPress from updating any of the WordPress core files or plugin files. If you try to update your WordPress core, it will give an error saying, “WordPress 6.x.x is available! Please notify the site administrator“. and

Categories
Elementor Errors

How to fix Elementor Scheme errors: ‘Elementor\\Scheme_Typography’  & ‘Elementor\\Scheme_Color’ 

If you have an old elementor-based theme and you upgraded elementor recently, you may notice an error like the one below : PHP Fatal error: Uncaught Error: Class ‘Elementor\\Scheme_Typography’ not found PHP Fatal error: Uncaught Error: Class ‘Elementor\\Scheme_Color’ not found The above errors occurred because Scheme_Typography and Scheme_Color have been deprecated since elementor version 3.6.0.

Categories
Woocommerce

How to display product price using shortcode

Here is the code snippet that you can use to create a shortcode and use it in any of your posts or pages to display the price of a specific product. You just have to specify the woocommerce product ID of that product like the given example. [woo_product_price id=20]

Categories
General

How to reset WordPress installation

While developing a WordPress website, we sometimes, end up doing some mistakes, or doing specific customization, which we want to erase completely, and RESET the WordPress site back to default data. We can achieve this in the following ways : Easy Way ( using a plugin ): The easiest way to reset WordPress installation is

Categories
Woocommerce

How to show or hide ACF field based on Woocommerce order status

You may want to show different Advanced Custom Field group based on status of your Woocommerce order status. Here we discuss the steps you can take to achieve this easily. You should know two basic things before we get started. Woocommerce Order status types : Woocommerce orders are a custom post type and order status

Categories
WordPress Plugin

How to add the | and ~ separator options back in Yoast SEO plugin

The pipe ( | ) and tilde ( ~ ) separator options for the title have been removed from Yoast SEO plugin version 17.1. As per Yoast, It was done because Google frequently replaces these symbols in search results. For more details, please visit the changelog of the Yoast SEO plugin version 17.1 https://yoast.com/yoast-seo-17-1/ If

Categories
Cloud Server

How to change ssh port and secure it by fail2ban in Linux server

I use runcloud to manage most of my Linux servers, so i have given screenshots of runcloud servers. But you can follow the steps to achieve the same in any Linux server. By default, runcloud has ports 22 (ssh), 80(HTTP), and 443(HTTPS) open, and port 22 is secured by the fail2ban application. If you scroll