My most popular blog post works again

I checked my stats today and discovered that by far the most popular page on my website is this one: Some Rules Kids Won’t Learn in School (by Charles J. Sykes).

Unfortunately, the referral URL still has the (very) old Simple PHP Blog URI, and my default .htaccess rule naturally points all 403 and 404 errors to the home page.

This was an exercise in .htaccess redirect, surely?

Well, no. As it turns out, redirect isn’t a fan of query strings, and the referring URI is

Thanks to some handy Bingle-Fu, I was able to find a StackOverflow answer that solves this very problem.

Along with another URI that was already not working in my .htaccess, I was able to fix both links, and now the rewrites look like this:

RewriteCond %{QUERY_STRING} ^p=754$ [NC]
RewriteRule wp\/$ [L,R=301]
RewriteCond %{QUERY_STRING} ^entry=entry060928-084532$ [NC]
RewriteRule blog\/index\.php$ [L,R=301]

Let’s work together to relink the web!

So here it is

Since I originally read that Terry Pratchett is a Humanist (albeit a “bad one”), I liked the sound of the description, and I’ve adopted it where appropriate. I’m more of an irreligious person nowadays, but I’ll get to that.

In Pratchett’s own words, “I think if there is any intelligence behind the Universe, it is so far from our comprehension that we may as well act as if it’s not there. I’m quite certain it doesn’t care what kind of food we eat on Fridays.”

I grew up in an interesting time. My father was born Catholic, my mother was born Methodist. Apparently the two were mutually exclusive in 1976 when they were married, so they wed in the Methodist church. There was some disagreement with the Catholics, as I understand it. My father was quite unhappy about it (he’s been dead for a while now, so I can’t ask him).

Since my paternal grandmother was a practising Catholic, I’d been with her to church several times and learnt all the words.

On the other hand, my maternal grandparents were practising Methodists, and as I lived with them for a time in my earlier years, I attended the same church in which my parents married, and learnt all the words.

Continue reading So here it is