Currently browsing category: Server Configuration

Have you ever had people tell you your emails inexplicably went to their spam folder? Do you ever email yourself from your own domain, like say [email protected] to [email protected], but it goes to spam and that seems odd since it’s the same domain? Well, the problem is most likely related to DMARC. It stands for Domain-based Message Authentication, Reporting, and Conformance (DMARC) and is used by Google, Yahoo, and all other major email providers. It’s a […]

Continue Reading …
Email Server Configuration

I ended up having 100s of crawl errors in Google Search Console for URLs that were ending in /blah.php and macariojames.com/dir/subdir/subdir2/blah.php for some reason. Some even ended in .html, which was easy to resolve since WordPress doesn’t use .html files, but .php files. After failing to write my own .htaccess RewriteRule and RewriteCond code, i found some useful code that i was able to tailor to fit my needs. I’ve shared it below. This code […]

Continue Reading …
PHP Server Configuration WordPress

I wanted to add SSL to a website i quickly spun up on a Lightsail instance. It was running on a subdomain. I ran into a hiccup with getting the domain verified via TXT entries in DNS when using Let’s Encrypt to setup SSL on a subdomain via GoDaddy DNS. In case you’re interested, here are the commands i used to manually add SSL with Let’s Encrypt with domain verification and prompts. Via CLI: mycli:~$ […]

Continue Reading …
DNS Security Server Configuration Web Development

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 since mod_deflate is a default module enabled out the box for Apache. Run apachectl -t -D DUMP_MODULES | grep deflate […]

Continue Reading …
Server Configuration

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 circles to appease these almighty tests. Anyway, one if the issues that popped up on site after site over the […]

Continue Reading …
Server Configuration

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. First time receiving this error. It seemed to be caused by the LetsEncrypt install. I probably wouldn’t have noticed it for quite some time since the https:// version of the site i just put up on the new […]

Continue Reading …
CLI Security Server Configuration Web Development

I’m using MAMP Pro and have a separate Host setup for each of my website projects. This let’s me navigate to https://local.mydomain.com instead of https://localhost:8888/mywebsitedirectory. You can easily set up local.mydomain.com to be a.b.c if you wanted; this is my convention for projects. I like to separate local dev with production and sandbox/staging sites. Since i decided to serve fonts locally as web fonts instead of grabbing them from Google or TypeKit or wherever, i noticed this […]

Continue Reading …
Server Configuration Web Development

So, i decided to give Machform a spin on a project i was working on. Figured it would be quick and easy to get up and running. It was — locally — but when deploying to my sandbox/staging server, i ran into issues with sending notification emails. It was maddening. Spent a couple of days getting everything working as needed and on the same page for all three differing environments. The first problem occurred when […]

Continue Reading …
CLI PHP Server Configuration

Out of the blue, i received a message that i still needed to verify my domain ownership — odd, because two weeks prior i thought i had covered my Firebase custom domain verification. I double-checked i followed the Google instructions verbatim, going so far as deleting and re-entering the records, yet after a few hours, still no luck. Enter doing the tried-and-true thing of Googling, but really hitting up good ol’ StackOverflow. It was suggested […]

Continue Reading …
DNS Server Configuration

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 all the time for me: Quit MAMP. In the Finder (or Terminal) go to Applications/MAMP/db/mysql56/ and delete the last log […]

Continue Reading …
Server Configuration Web Development