WordPress Tech Blog

How to merge two folders, including all sub-folders and files, on Mac

By Toby Cryns | November 3, 2022

Today I had an issue where I needed to merge two folders, each of which contained many sub- and sub-sub folders that had lots of images. After a lot of trial-and-error and some Googling, I found the best solution is to use the “ditto” command in Terminal like this: That’s it! Hat tip to AppleInsider.

Some Surprising Trends in Website Development

By Toby Cryns | October 17, 2022
mailchimp usage stats

I wasted some time today to bring you (dum dum duuuuum!): Some Surprising Trends in Website Development! Continue Reading Some Surprising Trends in Website Development

How to Configure WordPress with Cloudflare, HSTS, TLS, and Secure Headers

By Toby Cryns | October 11, 2022
cloudflare ssl overview settings for wordpress 1

I was recently asked to look into creating some secure http headers as well as forcing a website to load over TLS1.2+. Below are my “how to” instructions for updating these settings within WordPress and Cloudflare. Install & Configure the Cloudflare WordPress plugin. Make sure an SSL Certificate is installed on your host for your… Continue Reading How to Configure WordPress with Cloudflare, HSTS, TLS, and Secure Headers

Jetpack Now Has a Free Web Application Firewall (WAF)!

By Toby Cryns | September 27, 2022
jetpack waf

A few things to kick this post off: I utilize Cloudflare‘s free WordPress Web Application Firewall (WAF) wherever possible. I install WordFence on almost all my sites for their best-in-class WordPress-level WAF (usually running it alongside Cloudflare‘s WAF). I’ve found the Jetpack WP plugin has lost relevance over the last few years as they’ve tried… Continue Reading Jetpack Now Has a Free Web Application Firewall (WAF)!

ERR_TOO_MANY_REDIRECTS error when connecting Cloudflare to WordPress

By Toby Cryns | September 16, 2022
cloudflare ERR TOO MANY REDIRECTS wordpress error

Today I checked the “proxy” box for a website on Cloudflare, and I got a “ERR_TOO_MANY_REDIRECTS” error when I visited the website. The solution to this issue is simple: Click the “SSL”->”Overview” menu option in Cloudflare. Select the “Full (Strict)” option. Wallah! Done. Is this helpful? UPDATE: I learned that there is also a free… Continue Reading ERR_TOO_MANY_REDIRECTS error when connecting Cloudflare to WordPress

How to solve Local WP’s “Error in query (1153): Got a packet bigger than ‘max_allowed_packet’ bytes”

By Toby Cryns | September 7, 2022
local wp max allowed packet error

I was trying to import a 115MB database via Local WP’s Adminer tool, and I kept getting the following error: After a lot of trial and error, the solution was to: Update the “max_allowed_packet” variable in Local Sites->[site name]->conf->mysql->my.cnf.hbs to max_allowed_packet = 1000M Add/update the “max_allowed_packet” variable in Local Sites->[site name]->conf->php->php.ini.hbs to max_allowed_packet = 1000M… Continue Reading How to solve Local WP’s “Error in query (1153): Got a packet bigger than ‘max_allowed_packet’ bytes”

Divi WordPress Theme Created 70,000 inodes on my server

By Toby Cryns | August 23, 2022
divi tmp files inodes 1

I was tracking down some strange inode action on a shared hosting provider today and discovered that Divi WordPress theme created 70,000+ unnecessary inodes. As you can see in the inode count in the above screengrab, Divi theme created over 70,000 inodes in a temp folder above the web root. For comparison, this WordPress install,… Continue Reading Divi WordPress Theme Created 70,000 inodes on my server

How to safely disable MediaCloud’s media offloading WordPress plugin

By Toby Cryns | August 17, 2022
disconnect from s3 mediacloud wordpress plugin

You’ll remember a couple of years ago, I switched to MediaCloud’s media offloading plugin on this site. Well, today I decided it was time to bring the media back to my local web server. My main reason for doing this is that my hosting provider does automatic backups and was missing all the media in… Continue Reading How to safely disable MediaCloud’s media offloading WordPress plugin

How to Connect a GoDaddy Site to ManageWP

By Toby Cryns | June 27, 2022
managewp godaddy

GoDaddy owns ManageWP, and, strangely, they make it very difficult to add GoDaddy-managed WordPress sites to their ManageWP service. Thankfully, there’s a quick workaround: That’s it! I hope this is helpful. Many thanks to Abby for the tip! UPDATE on May 1, 2023: It looks like GoDaddy is no longer using the ManageWP worker plugin,… Continue Reading How to Connect a GoDaddy Site to ManageWP

How to check if your current page is the wp-login.php page

By Toby Cryns | June 7, 2022

I realized this morning that my TMM Maintenance Mode WordPress plugin had a bug that was causing the wp-login.php page to be inaccessible. The solution was to write a simple function that checks whether or not we’re currently on a login page, and then add a call to that function in my code. Here’s the… Continue Reading How to check if your current page is the wp-login.php page