Category: Tech Tips

  • Forcing a site to HTTPS using .htaccess

    Occasionally you may want a site to be fully https. Especially since Google recently said that they may prefer HTTPS sites as getting a certificate is a costly exercise so spammers are less likely to adopt SSL. Within .htaccess the code is as follows RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]    

  • How to speed up a WordPress website?

    There are many ways to improve your WordPress site speed, however there are a couple of really simple and free things you can do that will increase WordPress site speed. I am talking about self hosted WordPress here of course, not if you have a blog on WordPress.com. If you are self hosting WordPress then…

  • Who is anticrawler.org and is it safe

    Who is anticrawler.org and is it safe

    I noticed I got referred from anticrawler.org on  my Piwik analytics. Obviously suspicions were immediately raised, but required some further investigation. The site, anticrawler.org  just has a simple request for you to add some javascript to your website. See screen shot of anticrawler.org   There is no further information, so trust level has to be…

  • How to inspect element in Safari like you can in Chrome

    When developing or tweaking a website ‘inspect element’ is an essential tool to see what is going on, especially when adjusting CSS. Chrome comes automatically with ‘right click’ inspect element, and I was trying to do this in Safari but it didn’t seem to have this feature. However, it does actually, but inspect element isn’t…

  • Code to delete all images from WordPress or nearly all

    The other day I had a bit of a nightmare with a plugin that looped and created multiple images, in fact thousands of them. I got bored with trying to delete them manually so wrote some code quickly. The first thing was how to write code that runs using wordpress, you can use  technique simply…

  • Having a custom functions or styles per individual WordPress multisite site

    If you are running a multi-site and you a have common theme sometime is becomes a requirement to add specific styling and functions for an individual site or two. The traditional way is to create a child theme and apply that to the site, and this works fine, but this method allows you to create individual…