How to Add a Cloudflare noindex X-Robots-Tag

Here's how to add a Cloudflare "noindex" tag to your pages using the X-Robots-Tag response header. This solution works for all sites, including those on WordPress. Related to Cloudflare: Cloudflare Rule to Block WordPress SpamHow to Fix Cloudflare Blocking REST API RequestsCloudflare … [Read more...]

ONE Cloudflare Rule to Block All WordPress Comment Spam

Here's an easy way to block all WordPress comment spam using a single Cloudflare firewall rule. Related to Cloudflare and WordPress Comments: How to Implement Infinite Threaded Replies in WordPressHow to Disable Links in WordPress CommentsHow to Fix Cloudflare Blocking REST API Requests … [Read more...]

How to Have Infinite Replies with WordPress Threaded Comments

WordPress doesn't allow to have infinite replies beyond the maximum nested comment depth. In this tutorial, I'll show you how to create a "Reply" link for all threaded comments, regardless of the depth. Related to WordPress Comments: How to Disable Links in WordPress CommentsHow to … [Read more...]

How to Disable Links in WordPress Comments (NO Plugins)

Here's how to disable auto-linking in WordPress comments and remove the comment author link. This will keep your comment section free of spam. Related to WordPress Comments: How to Allow Infinite Replies in WordPress Nested CommentsONE Cloudflare Firewall Rule to Block WordPress Comment … [Read more...]

How to Create a GA4 Events Report with Custom Parameters

Here's how to create a Google Analytics 4 (GA4) events report using the report builder with custom parameters. You must create a GA4 event in Google Tag Manager with custom parameters as a prerequisite. For this tutorial, I'm using a GA4 click event with the following parameters: Source … [Read more...]

How to Add Google Analytics 4 to Google Tag Manager

Follow these steps to add Google Analytics 4 (GA4) to Google Tag Manager (GTM). Related to Google Tag Manager: How to Track Link Clicks with Google AnalyticsExclude Logged in WordPress Users with Google Tag ManagerCloudflare Analytics vs Google AnalyticsTrack Google Analytics Even with … [Read more...]

How Cloudflare Makes Money

Cloudflare makes money in three ways - subscriptions, "pay as you go" services and enterprise partnerships. People have difficulty understanding how it makes money because the Cloudflare free tier is so generous, and they wonder how a company can provide so many services without charging anything. … [Read more...]

Alternatives to the Free Ahrefs “Organic Keywords” Movement Report

On the 20th of September 2022, Ahrefs retired the free "Organic Keywords" report, including the "New" and "Movements" tabs. Previously, you could access them by clicking on the left-hand side links like this: Organic Keywords Movement Report Instead, they redirect users to the "Calendar … [Read more...]

[Fix] Cloudflare Blocking REST API Requests

Sometimes, Cloudflare blocks REST API requests and prevents WordPress from working correctly. I most commonly encounter this problem when the WordPress Gutenberg editor throws the following message: Updating failed. The response is not a valid JSON response. Cloudflare Blocking REST API … [Read more...]

“HTTPS Not Evaluated” Error Can Fix Itself

After I published a post yesterday, I got the following error in the Google Search Console (GSC): "HTTPS not evaluated", under the "HTTPS is invalid and might prevent it from being indexed" link as shown here: HTTPS is Invalid and might prevent it from being indexed After clicking the … [Read more...]

WP-Tweaks