Technology, life, programming, travel and money.

Website building

Paying tax on AdSense income

Paying tax on AdSense income

If you earn money from Google’s AdSense or from some other affiliate or internet related source do you declare it? Do you pay tax on your income? I’m betting a lot of people don’t treat this kind of income as real income and don’t pay any tax on it. If you have a normal day job which you pay tax on, and you just get a ‘pocket money’ [...]

Proof that Alexa rankings can be very inaccurate for small websites

Proof that Alexa rankings can be very inaccurate for small websites

Here is a comparison of the actual viewing figures for this site (as recorded in Google Analytics), against the values that Alexa reports. Alexa vs Google Analytics page views This is a fairly small blog, getting 600-800 page views per day. If you too have a website which is of a similar size you might be interested in just how wrong [...]

Compressing HTML and PHP files on 1and1

Compressing HTML and PHP files on 1and1

1and1 doesn’t have mod_deflate or mod_gzip enabled on its home or business virtual server packages which means that many of the usual .htaccess tweaks to compress your web pages won’t work. Here’s something very simple tweaks that will work with 1and1, and with other hosts too. Set up your .htm and .html files so that they are parsed by [...]

Redirect all but selected sub-directories using .htaccess rules

I have an old website which is almost defunct, and I wanted to redirect all the traffic from it to this website – APART from a few selected directories. This is how I managed to get the redirects working using a .htaccess file. For this example the directory containing the material that I don’t want to redirect is called ‘goodstuff’. [...]

Joining photos together with ImageMagick

Joining photos together with ImageMagick

In my posts I often have a need to stitch multiple photos together in a rectangular block. I prefer to have the photos stitched together rather than uploading them as individual images as this removes the need to lay them out (using divs, tables, etc). Plus the stitched together image size is smaller than the size of uploading individual images. [...]

Notes on upgrading to WordPress 3.0 on 1and1

Notes on upgrading to WordPress 3.0 on 1and1

Normally I’d wait until at least the x.01 release of a new WordPress before upgrading. But this time I wanted to try the new WordPress soon after the final 3.0 version was out. I still waited a few days before installing it to let other people discover and fix any initial problems. Problems and fixes My wait paid off as a number of people [...]

Renaming table prefix on WordPress 2.9

Renaming table prefix on WordPress 2.9

I wanted to rename the table prefix for this blog before upgrading to WordPress 3.0. I knew about the WordPress Table Prefix Rename Plugin which claimed to work for WordPress 2.x, but I couldn’t find anyone saying they had tried it specifically on WordPress 2.9. The only thing to do was to try it myself. As stated in the documentation [...]

Visualising the Google PageRank scale

Visualising the Google PageRank scale

Google’s PageRank is a scale from 0-10 that shows how well connected web pages are. Web pages with higher PageRank values have more quality links pointing to them. It is not a linear scale, it is a logarithmic scale. People estimates that the logarithm base is between 5 and 10. Because it is a logarithmic scale it can be quite hard to [...]

What I’ve learnt after 100 blog posts

What I’ve learnt after 100 blog posts

Today marks a significant milestone for this blog. After two and a half years I have reached my 100th post! I thought this would be a good moment to look back at what I’ve learnt from writing a hobby blog. Why I created this blog I’ve been a hobbyist website builder for about 13 years now. I’ve created a mixture of technical and [...]

Writing WordPress posts offline in Word with the help of VBA macros

Writing WordPress posts offline in Word with the help of VBA macros

If you want to write your WordPress posts offline (i.e. in a separate editor to the WordPress editor), then you may find you have to spend a fair bit of time reformatting the blog post to add any required WordPress formatting before you can publish. There are lots of reasons for wanting to write your WordPress blog posts offline. You may not [...]

 Page 1 of 4  1  2  3  4 »