Create a .htaccess in the web directory of your website with the following content: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://base64.co.za/$1 [R,L]
Force website to be served with HTTPS
Enable Google Analytics in WordPress
There are a couple of plugins which help you to do this, but we’ve found the simplest way is to add the Google Analytics code to the header.php file just…
Lesson 3 – HTML styling using CSS
Styling of HTML can be done in a number of ways. The easiest and often the least recommended way is to use inline styling where a style is applied to…
Lesson 4 – HTML text formatting
There are a couple of basic HTML text formatting elements, some of which include: b – bold text i – italic text strong – strong text small – small text…
Lesson 5 – HTML comments and tags
HTML comments It's always good practice to insert comments which help others understand your code. Note that there is a difference between comments which describe sections of code, and commented…
Lesson 6 – HTML colours
HTML Colours Colours can be set using colour names, RGB values, and HEX values. Using colour names <h3 style="color: red">Some heading</h3> <h3 style="color: blue">Some heading</h3> Using RGB values <h3 style="color:…
Touchpad Gestures Ubuntu – Dell Xps 13
Libinput-gestures is a utility which reads gestures from your touchpad and maps them to functions you define in a configuration file. See here
Lesson 7 – HTML Lists
HTML is comprised of two types of lists: ordered lists and unordered lists Ordered lists Ordered lists are numbered sequentially and are created using ol tags See the Pen HTML…
Redirect not working cPanel – Solved
When creating a temporary or permanent redirect in cPanel from one directory to another, you might find the redirect simply doesn’t work. The most likely case is that your source…
Vertically align image in div
To align an image vertically in a div you need to add the following styles on the element surrounding the image: display: inline-block vertical-align: middle The following style should also…









