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...]

[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...]

It’s NOT Worth Hiring an SEO Expert

"SEO experts" are a rip-off. Especially for small businesses, you can easily throw away a good chunk of your profits. Hiring an SEO expert is not worth it because you can get the same services from a good content writer, a web designer, and SEO tools like Ahrefs and Screaming Frog. Don't waste … [Read more...]

3 Must-Have WordPress Plugins for Blazing Fast Speed

Now that search engines like Google have started considering the page experience for rankings, your site needs to load quickly. WordPress by default is pretty slow. It wasn't built with loading speed in mind and as a result, there are lots of JavaScript, CSS, and page generation inefficiencies. It … [Read more...]

Lightsail AWS vs Shared Hosting: Bad for Beginners

The biggest difference between Lightsail AWS and shared hosting, is that Lightsail is like a managed VPS that comes installed with WordPress, but without customer support. With traditional shared hosting, on the other hand, everything is automatically configured. Lightsail AWS isn't for beginners, … [Read more...]

How to Remove Structured Data Errors for Reviews

Here on WP-Tweaks, I personally review a lot of web hosting products, but recently I decided to accept user reviews as well. This required a new kind of structured data - "aggregateRating" field, and so I needed a plugin to do this for me automatically. Unfortunately, I wasn't able to remove … [Read more...]

How to Show a Different Table for Mobile Devices

Even responsive design isn't enough for some tables. You can shrink the number of columns, and try all kinds of tricks to show them on mobile devices, but sometimes you just need to show a different table entirely. Perhaps one with a little more streamlined data that's specifically been optimized … [Read more...]

WP-Tweaks