Author Archives: David

Google & ‘Soft 404’

Many of us who manage websites are familiar with Google’s ‘Search Console‘. The search console is a way for webmasters to manage how Google interacts with our web sites. It provides functions to tell Google what parts of the site to search, what parts to ignore, and determine what pages are doing better than others.

One of the functions it provides is a way to see what parts of a web site that Google has indexed and what part it hasn’t. It also can tell what parts of a site it is ignoring and, to a certian extent, why it’s ignoring them.

One of the reasons that Google might be ignoring a page is because it’s been to be determined to be a ‘Soft 404’.

What’s a Soft 404 error?

Well, a REAL 404 error is a page not found. It’s a function of the web server software. Most web servers provide the ability to use a custom page when a 404 error is encountered. You can see an example of one here.

As for a ‘Soft 404’ … according to Google …

A soft 404 means that a URL on your site returns a page telling the user that the page does not exist and also a 200-level (success) code to the browser.

https://support.google.com/webmasters/answer/181708?hl=en

While some sites might actually do that … handle a page not found error with a friendly page but indicate to the browser that it’s a normal page (200 status code) … I suspect it’s actually a minority of sites (granted, it may be a way to game the system).

However … it turns out that pages that contain the words ‘not found’, ‘error’, ‘authorized’, ‘not allowed’, etc., in the title or body are often treated by Google as a soft 404 error … even if the page isn’t a 404 at all. Additionally, the words do not even need to appear on the page at all. The details of what constitutes a ‘soft 404’ are very mysterious.

Continue reading

Diabetes Sucks

Yes, it should be pretty obvious that I think diabetes sucks. Otherwise, why would I be working so hard to help eliminate it.

Anyways, I figured it was high time I started talking a bit more about the topic… so I created a category to discuss diabetes, Tour de Cure, and related topics.

As always, you can donate to my Tour de Cure fundraising ride by visiting diabetessucks.net.

If you are interested in seeing where donors to my ride are from, visit diabetessucks.net/map.

Enjoy!

Lightsail Network Isolation

Amazon Lightsail started offering a managed database service a few months ago.

I took a look at it … and tried it out … a while back and wasn’t really happy with it.

Although it had some nice features, I wasn’t given a ‘root’ (or super user) account and (as I sometimes do) was able to completely trash the instance within a few hours of creating it (I tried to manipulate the permissions on the master database user and ended up revoking all of them).

So I was considering creating my own database server using MySQL on a stand alone Amazon Linux instance.

This would give me a stand alone database with the flexibility to do anything I wanted.

My big concern was network security. I wanted to make sure that only my Lightsail instances would be able to communicate with the database server.

Continue reading

I fell off my trainer

I’m probably one of the few people who can honestly claim that they fell off a bike trainer.

Keep in mind that, when riding on a bike trainer, the bike is locked in place on the trainer and it can’t move.

Nonetheless, I managed to fall off my trainer. Well, more like catapulted off.

This happened quite a while ago … I was using the Zwift training software with my Kinetic Road Machine dumb trainer.

Continue reading

Good Customer Service from Road iD

A number of years ago I purchased a Road iD bracelet so, if I crashed during a ride, anyone who tried to help me would know who to contact if I wasn’t able to tell them.

I’ve worn that bracelet for most, if not all, my rides. It’s gotten kind of beat up over the years.

At this point the metal plate with the emergency contact information is pretty scuffed up and almost illegible.

While browsing the Road iD web site, I noticed they have a lifetime guarantee.

Yesterday I sent their customer service department a note indicating that the plate is scuffed and illegible … and they responded, within about an hour, indicating that they would provide a replacement.

They confirmed the information for the bracelet and shipping address … and said it would be sent out that day.

Today I got the shipping confirmation of the replacement.

That’s good customer service.

Http/2, Apache, & Lightsail

This post only covers the technical details of how to implement http/2 on an Apache web server running in Amazon Linux on Lightsail. It does not go into the details of what http/2 is or why use it. For that information, I suggest https://http2.github.io.

First you have to switch the Multi-Processing Modules (MPMs) from pre-fork (the default) to another one. I chose the event mpm for no particular reason.

To do this, edit /etc/httpd/conf.modules.d/00-mpm.conf and make the following changes …

Continue reading

Temporary Wahoo RPM Cadence Mounting

If you’re like me, when cycling, you prefer to have a bike computer and some sensors with you on a ride.

On a recent vacation, where I rented a bike, I brought my bike computer (Garmin Edge 1030) and my Wahoo RPM Speed & Cadence sensors along.

The RPM Speed sensor mounted fine on the bike’s hub using its built in rubber bands.

The issue was with the cadence sensor.

Continue reading