Revamping a website and preventing hot-linking

It’s been a long time coming and at the end of last week I finally got around to revamping my family tree website. It used to be static pages that I hand-coded and hadn’t been updated for months. I have now converted it to a WordPress blog (just like this one), which means I can add entries there when I’m researching one branch or other of the family tree.

In addition to re-launching this site, I had to add code on all my sites this morning when I found a Russian site that had basically taken and translated every post on my blog into Russian and was presenting it complete with all my (hotlinked) images and style sheet. I have now added code in my sites’ .htaccess file preventing hotlinking of images and my stylesheets from other sites. I checked David Airey’s blog post How to stop image hotlinking and bandwidth theft before adding the code.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://([a-z\.\-]+)?ianhedges.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://([a-z\.\-]+)?ijhedges.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://([a-z\.\-]+)?ijhedges.co.uk/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://([a-z\.\-]+)?cre8Buzz.com/.*$ [NC]
RewriteRule .(gif|jpg|png|css)$ - [F]

I’ve allowed cre8Buzz, as I hotlink my profile images from my gallery.

Posted in FamilyTree, Website | Tagged , , | 3 Comments

Concert Season

It’s coming up to the end of the school term and there are concerts all over.

This afternoon, my son and about 90 other children from local schools who were learning string instruments, went to a Fiddle Fiesta at a local middle school where they spent the afternoon practicing 6 pieces together. At 6:30 this evening they put on a concert for the parents.

On this Saturday morning and the following Saturday morning, Dunstable Music Centre are having their end of term concert. At various times we will all be taking part, my daughter and I only on the first Saturday.

Continue reading

Posted in Music | Tagged , , | Comments Off on Concert Season

Firefox 3 Download Day

firefox-logo
I have been using Firefox as my browser of choice for about 2.5 years now, starting with Firefox 1.5. I liked the tabbed feature of Firefox, which wasn’t available in Internet Explorer at the time. Then I discovered the add-ons for Firefox and it just kept getting better.

A couple of the add-ons I have been using are NoScript and IE Tab. NoScript is great as it prevent scripts running on a site unless you choose to allow them, this means that in cases of an advert laden webpage, most of them will not work unless you want them to. IE Tab is ideal for those sites that just will not work properly unless you are using Internet Explorer.

Continue reading

Posted in Software | Tagged , | 2 Comments

Watching nature change week on week

yellowhammerSince we’ve had our bikes, we have been out on them most weekends and have been up to Marston Vale several times. We have also been back to the RSPB at Sandy on a cooler day as well. What we have noticed at Marston Vale is the changes week on week of the plants in flower. This week it was the dog roses, a couple of weeks ago the hawthorn was in flower. I have uploaded photos into 2 more galleries RSPB Sandy 31st May 2008 and Marston Vale 8th June 2008. This year I have seen much so far including dragonflies, damselflies, blue tits, great tits, black capped warbler and a yellowhammer.

I find it amazing how the same place can be so different each visit.

Posted in General, Photography | Tagged , | Comments Off on Watching nature change week on week

Went on our first BritTrip

Walkers Crisps are running a promotion called BritTrips. This is to promote the fact that there are many things to do in the UK without having to go to the airport for a holiday. There are codes in bags of crisps that you register online to get points. You can exchange the points for partial or full payment of a selection of days out, meals, holiday accommodation etc.
Anyway, last Saturday afternoon we took the bikes out to Marston Vale again and cycled round the other bit of the cycle path. It was really good, as my son can now ride without stabilisers and this was the first time out since he had first managed.
female Broad Bodied Chaser dragonflyOn Sunday afternoon we converted 5 of our BritTrip points into a voucher for entry/parking at the RSPB headquarters in Sandy, which is about 45-50 minutes away from us. It was a really hot day, which was a shame in a way, as the birds were staying out of the way, at least they were on the heath trail that we walked. Part of the way round the heath trail is a pond that has been established for Natterjack toads and there were loads of damselflies and a couple of dragonflies flying around. I managed to get a photo of one of the damselflies, a male Large Red damselfly as I found out when I got home, and several photos of a female Broad Bodied Chaser dragonfly, also found out when I got home. There was a cuckoo in the woods further over, I can’t remember if I have ever heard one before, if I have it was a long time ago. We called it a day after about 1.5 hours as everyone was getting tired.

Posted in General, Photography | Tagged , , | 1 Comment

On your bikes

ridgeback mx2A couple of weeks ago Jo and I decided we needed to get bikes so that we could keep up with the kids when they are on their bikes. I got a couple more Thule bike carriers to go on our roof bars, so it was just time to get bikes.

I looked about the local area for bike shops and last Saturday we all went over to Hitchin to Cycledealia to see what they had. Their suggestion for our requirement was a Giant Rock, but they didn’t have the size frames either of us would need. It was suggested that for a Giant bike I would need a 21″ frame and Jo would need a 17″. They were going to order in some bikes that week for this weekend, so to ring on Friday to confirm and then we could go back on Saturday. We finished the day watching the ducks and eating ice cream.

Jo rang them on Friday to be told that they didn’t have them, nor would they have. They would only have got the sizes in to order and didn’t know why we were told otherwise. Not impressed.

Continue reading

Posted in General | Tagged , | 2 Comments