Currently browsing tag: apache

Gzip compression – How to turn it on

Continuing with providing tips for website performance results — or just making sure we’re no longer getting a failing grade via performance reports from GTMetrix, Google’s PageSpeed Insights, or web.dev — here’s how to enable gzip compression on your Apache server. First, check if mod_deflate is installed and enabled. It should be installed and enabled […]

Continue Reading …

Leverage Browser Caching – How to turn it on

So! If you’re a web developer like me, you unfortunately have to bow before performance reports from GTMetrix, Google’s PageSpeed Insights, and still-in-beta web.dev. Don’t get me wrong, the stuff they find are mostly good things, like making your site more accessible and noticeably speedier. But sometimes it can feel like you’re just running in […]

Continue Reading …

[SOLVED/FIXED] Apache + LetsEncrypt file ‘/etc/letsencrypt/live/…/fullchain.pem’ does not exist or is empty. Action ‘configtest’ failed.

I had setup a new Apache server and needed an SSL certificate so i went with the tried and true, quick and easy LetsEncrypt/certbot route. While testing if gzip was installed, i received errors running apachectl configtest. Never had this happened before. It seemed to be caused by the LetsEncrypt install. I probably wouldn’t have […]

Continue Reading …

Fonts blocked by CORS policy on localhost: How to fix that

I’m using MAMP Pro and have a separate Host setup for each of my website projects. This let’s me navigate to local.mydomain.com instead of localhost:8888/mywebsitedirectory. You can easily setup local.mydomain.com to be a.b.c if you wanted; this is my convention for projects. Helps me separate local dev with production and sandbox/staging sites. Since i decided to serve […]

Continue Reading …

[SOLVED/FIXED] WordPress Custom Shortcode Not Displaying or Breaks Page

So, i’m working locally on this site, tweaking my Wikipedia User Contributions Display plugin, and i noticed that some tweaks i pushed live are actually working fine, but locally they’re not (kinda backwards, i know). Heck, anything after the plugin shortcode doesn’t display–it actually breaks the site (footer scripts and other code fails to run). […]

Continue Reading …

[SOLVED/FIXED] MySQL Server Not Starting on MAMP for Mac

So if you’re like me, you do a lot of WordPress development locally and experience annoying issues. I use MAMP, personally, as do many others. One of these common headaches is the MySQL server not starting on MAMP for Mac; inexplicably stopping and whatever you try, it won’t start again. Here’s a fix that has worked […]

Continue Reading …