21 Lessons To Learn And Code

FREE

Organising Your Hosts File

in Web Development

If you're freelancer or work for a large company you could find yourself with a large and sometimes out of control /etc/hosts file. I can have about 50 sites on...

Read More


Hotlink Protection On Nginx

in Web Development

I recently created a WordPress plugin called Redirection Manager which will keep track of all 404s on your website and log the URL and the referrer of the link. In...

Read More


Fixing Analytics Leverage Browser Caching

in Web Development

If you've read my previous articles you would of seen a post from last month about trying to reach the 100/100 on Google's pagespeed tool. This doesn't necessarily improve your...

Read More


FREE

Attempt At Scoring 100 On Google PageSpeed

in Web Development

With PageSpeed being so important to Google and other search engines they have created a nice tool to judge the speed and optimization of your website by using Google PageSpeed...

Read More


FREE

Development Workflow With Vagrant

in Web Development

In this tutorial we're going to look into using Vagrant and why we should include this in our development workflow. What Is Vagrant Vagrant allows you to build and configure...

Read More


FREE

How To Install Bower on Ubuntu

in Web Development

In this tutorial we're going to be installing Bower onto Ubuntu. Bower is a package manager for front-end libraries, similar to that of composer. It runs on Node.js and uses...

Read More


FREE

List All Containers On Docker

in Web Development

Docker is a piece of software that allows you to run a complete filesystem in it's own environment like a virtual machine buy by using containers to wrap up the...

Read More


FREE

Redirect HTTP to HTTPS

in Web Development

Since Google announced that they were going to start using HTTPS as part of their ranking you would of seen a vast amount of websites switching to use HTTPS instead...

Read More


Viewing Localhost Site On A Mobile Device

in Web Development

In modern web development it's very important that your website is functional on mobile devices. There are a few options that you can use when testing how your website works...

Read More


FREE

Get Last Record In Each MySQL Group

in Web Development

In this tutorial we will look at how you can use MySQL at getting the last record in a Group By of records. For example if you have this result...

Read More


FREE

Stop Search Engines From Indexing A Page

in Web Development

There can be times where you have a page in Search Engines that you don't want indexed or are creating a new page and don't want this one page to...

Read More


FREE

Redirect A Folder To A Subdomain

in Web Development

I've recently had to migrate a website which needed to switch a URL from www.example.com/blog/ to be on a sub-domain to http://blog.example.com/. When you do a site migration like this...

Read More


FREE

Import And Export A Database Using Command Line

in Web Development

The following code snippets will allow you to import and export a large database using SSH commands. To get SSH access to your hosts server you will need to contact...

Read More


FREE

Use htaccess To Redirect Custom Error Pages

in Web Development

When your website server sends a HTTP error status code it will display some default pages which do not look good on your site and don't look professional. The best...

Read More


FREE

Blacklist IP Addresses With htaccess

in Web Development

Here is a good snippet to add to your htaccess file to completely block spammers from your site. If you have a WordPress site you could get a lot of...

Read More


FREE

Reduce Comment Spam With htaccess

in Web Development

Comment spam is a problem with many blogs, one of the biggest is spam bots crawling sites and automatically submitting comments to your site. The below code snippet will check...

Read More


FREE

Prevent Hotlink Images With htaccess

in Web Development

There is a way you can prevent people hotlinking the images on your website just by adding bits of code in your htaccess.

Read More


FREE

Using htaccess To Force Trailing Slash

in Web Development

You can use htaccess to change the URL structure of your website. There are lots of things you can do with htaccess one of the most common things would be...

Read More


FREE

Set Expire Headers In htaccess

in Web Development

A way that Browsers try to help speed up rendering the page is by taking static data and cache it. These are things like images, CSS and JavaScript files. As...

Read More


FREE

Force non-www With htaccess

in Web Development

In a earlier article I mentioned how to add the www. to your domain if users come through to your domain without it. Now I will explain how you can...

Read More


FREE

Force www With htaccess

in Web Development

For SEO it is important to use a set standard of how you present your domain. The most popular approach is to use the sub-domain www. Many people don't know...

Read More