If you are a blogger and a programmer, the chances are that you will often shows some programming code on your blog. The codes that you shared may not be syntax-highlighted like what you see on your favourite text editor or IDE, but it is easy to add syntax highlight to your WordPress blog using Highlight.js (hljs). Continue reading “Add Syntax Highlight to WordPress Blog”
It is important to back up your WordPress site and the associated database, and it is often overlooked. Here is a way to back up your WordPress site and database in 3 simple steps, and no plugin required. Continue reading “WordPress backup in 3 simple steps”
A few days after this self-hosted Nginx server and WordPress up and running, I started to see massive login attempts trying to gain access on SSH and WordPress login. After evaluating various solutions and plugins, I settled on using Fail2ban to block such attacks, and here are the steps on how I did it. Continue reading “Secure Nginx and WordPress with Fail2ban”
WordPress announced on 1 December 2016 that it will only promote hosting partners that provide a SSL certificate by default in their accounts. In this article I described how to implement SSL on WordPress website. Continue reading “Hosting WordPress on Raspberry Pi Part 6 – Implement SSL”
If you run Google PageSpeed Insights or GTMetrix tests on standard WordPress installation, you will noticed that your website could be more SEO friendly with some optimisation. You can do so by creating your own customise plugin and put all the code for optimisation and customisation in one place.
Continue reading “WordPress SEO-friendly optimisation with your own plugin”
To host WordPress website on Raspberry Pi, the next steps involved of getting a public-facing IP address, register a domain name for our little Raspberry Pi website, setting up port forwarding and dynamic DNS, and we are going to discuss those in details in this article. Continue reading “Hosting WordPress on Raspberry Pi Part 5 – Dedicated IP, Domain name and DNS”
We had WordPress installed on the Raspberry Pi, we are going to look into how to implement various cache solutions to optimise WordPress without depending on plugins. Continue reading “Hosting WordPress on Raspberry Pi Part 4 – Optimise WordPress through cache”
We now have a server running Nginx, php7-fpm with MariaDB, now it is time to install WordPress, and how to handle WordPress permalink for Nginx.
Continue reading “Hosting WordPress on Raspberry Pi Part 3 – Setup WordPress”
Before installing WordPress, we will need to setup a web server for our Raspberry Pi. We will use Nginx as the web server itself, MariaDB as a database management system, and PHP for dynamic script processing. We choose Nginx, PHP-FPM and MariaDB for its performance and lightweight that are both important factors for Raspberry Pi. Continue reading “Hosting WordPress on Raspberry Pi Part 2 – Install Nginx, PHP and MariaDB”
Before connecting the Raspberry Pi to the Internet, it is important to tighten the security by changing the default password and restricting SSH access of the the Raspberry Pi first.
Continue reading “Hosting WordPress on Raspberry Pi Part 1 – Tighten Raspberry Pi Security”