Happy Easter
Sunday, April 16, 2017
Happy Easter everyone. Just a quick question to think about, which would you pick - Lego and chocolate . . .
. . . or chocolate Lego?
![]() | Posted by Ben Taylor at 18:26 |
comments 0 |
Happy Easter everyone. Just a quick question to think about, which would you pick - Lego and chocolate . . .
. . . or chocolate Lego?
![]() | Posted by Ben Taylor at 18:26 |
comments 0 |
Happy St. George's Day everyone. Pinner had an event on to celebrate the day with lots to do. It was really busy with lots of families out enjoying the sunshine. There was a petting area with animals from a local farm including a nice little piglet and lots of rides for the kids. There were also lots of stalls with food and games including a tombola and a cross bow game. Later on there was a bit of wheelbarrow racing which included refreshment stops at each of the drinking venues for a mandatory pint. The sun has been out all weekend, it almost feels like summer...
Hello, This is going to be very brief, one minute of internet time left. Quick question who is Ben Thomas our latest member? Come on Ben leave a comment and tell us who you are
Love Ben and Dani
I had looked at a few other blog type sites and decided I wanted to simplify the URLs for the website. After a quick read around on the Internet I came across Apache mod rewrite for the .htaccess file. Now that's more than likely meaningless to anyone that might look at the site and up until very recently didn't mean a lot to me either. After having a looking on a couple of different websites, it seemed to achieve what I was looking for with very little effort.
To begin with I had to create a .htaccess file in notepad as there wasn't one in the root directory of my hosting account.
I started by adding:
Options +FollowSymLinks -Multiviews
This enabled mod rewrite on my hosting account with godaddy
I then started by removing the requirement for .php at the end of my php pages. I copied and pasted the code for this from a site I came across:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^ %{REQUEST_URI}.php [L]
I then added a few custom rewrites to simplify access of the blog and album elements of the website. Having very little experience of mod rewrite I was really pleased to find an automated tool in the shape of www.generateit.net/mod-rewrite/index.php.
That's pretty much it, now I have super simple URLs instead of those long php parameterised ones that I had before!
© Ben Taylor 2025 all rights reserved