Categories
troubleshooting wordpress

WordPress JS/CSS files 404’d

The site was reporting many JS/CSS files as 404 (this was with the MMR plugin, but I’m pretty sure that was coincidental). Switching to a twenty* theme with 0 plugins enabled didn’t result in any change, so it seemed like a caching issue. There was a normal install of WP Super Cache, as well as […]

Categories
guides wordpress

WordPress DocRoot Permissions & Ownership

This is a TL;DR of me trying to responsibly struggle against WordPress prompting for FTP credentials. This is my best compromise of security and usability when I want to support some in-browser updates and uploads, while also not sudo ing everything when working on the server.

Categories
guides troubleshooting

Git Repo Size

I had a private Bitbucket repo that was complaining I was over the soft limit of 1GB. I thought I had remembered cleaning up my commit history a long time ago to re-size this repo, but it was still showing in the Bitbucket/<user>/<repo>/admin that it was over 1GB. The repo definitely wasn’t taking up that […]

Categories
guides wordpress

Preload Resources in a WordPress theme functions.php file

Sometimes a report from Lighthouse will indicate you should preload a resource. Adding this (and replacing the href, and making sure you use the correct as= value) to your theme’s functions.php file will preload a resource. Note that in the case of fonts, the cross-origin attribute is required, even if the file is not actually […]

Categories
Uncategorized

Can’t Find my Amazon Locker Collection Code

This information is entirely thanks to Marc Carson’s site, please visit there for information on how to resolve this issue. This page exists to help me find it since (sorry Marc) I don’t regularly remember his site’s name when I encounter this issue, which happens more often than it should. In case Marc’s site ever […]

Categories
troubleshooting

Enable SSH Access for Bluehost Hosting

TL;DR: Contact support. Longer… After both importing and authorizing your key in cPanel, you try to connect by using the username found in the top-right of cPanel: So you double and triple check the Bluehost docs, trying to see what you might have missed. Is there another setting you have to flip for this to […]

Categories
guides wordpress

Errors Importing Prebuilt Template from Avada 7+

This may be an edge case that no one else has issues with, but here is my setup: cPanel SiteGround hosting Primary primary.tld site lives in the public_html/ folder, and many staging sites live in public_html/staging/. DNS points newdomain.staging.tld to SG IP address SG cPanel configured with subdomain pointing to specific folder inside staging/ The […]

Categories
guides learning

Symlink to App Directory

When you build a web app, not all of the files related to the project or in your git repo need to be publicly accessible. You can clone the repo to the webserver, but then create a symlink to connect your Apache DocRoot (or somewhere else in an existing site’s folder structure) to point to […]

Categories
Uncategorized

console.log in PHP

Title isn’t really accurate at all, but it is likely how I’ll recognize this as what I’m looking for next time I need this information.

Categories
guides

Delegate Access on GoDaddy Domains

If you have someone helping manage or launch a website for you, and you have your domain name registered through GoDaddy, it can be really helpful to give them some access to your GoDaddy account without having to give them your own username and password. GoDaddy has several levels of access that you can grant […]