How to Block an IP Address from accessing your website

Ethernet cables

Looking to block a specific IP address from accessing your website? Maybe you saw some rogue activity, and its coming from a specific IP? Perhaps some IP address you can see spidering through all your content – and its not a search robot? Whatever the reason, if you’re looking to block a specific IP address …

Read more

How To: Leverage Browser Caching for Images, CSS and JS

Ever checked your website speed using GTmetrix, Pingdom, PageSpeed or Yslow… or any of the other many and various latest and greatest speed checking tools? ***2021 update: take a look at Lighthouse Well, if you have, you might have come across a request to “leverage browser caching…” or similar. What does “Leverage Browser Caching” actually …

Read more

Example CodeIgniter .htaccess for mod_rewrite

If you are like Silicon Dales, a few years back, you would have used CodeIgniter (CI) probably quite a lot 5-6 years ago, but perhaps not so much “these days” on projects. We have a number of clients with legacy CI sites, and sometimes, we need to move them around and configure them. For this …

Read more

Transport HTTPS traffic to HTTP with .htaccess

The sharp-eyed among you may have noticed that we very recently updated a couple of things here at the Silicon Dales website, and one of those steps has involved switching from delivering pages via HTTPS, now that we have retired the online shop section. The precise mechanism for doing this on a LAMP setup using …

Read more