awk

Moving wordpress from a subdirectory – and generation of 301 redirects from a google sitemap

So I mistakenly have installed wordpress in a subdirectory on my site – this worked well for testing, but I didn’t buy this domain to have my entire site sitting within a subdirectory! WordPress has a good guide on this subject, which has step by step instructions on migrating your installation from one directory to Continue reading Moving wordpress from a subdirectory – and generation of 301 redirects from a google sitemap

Dealing with Apache referrer spam

I’ve had a number of sites get hammered by referrer spam lately, and had to look into methods of stopping, or at least slowing the attacks. Referrer spam is when a group of random (probably trojan or hacked computers) or single computers hit random pages on your site with faked referrer values, typically all pointing Continue reading Dealing with Apache referrer spam