Categories
Uncategorized

It’s so easy to host a blog today (2020)

I moved this blog from Posthaven to WordPress as Posthaven has poor support for emojis and supports minimal customizations. And the reason to use WordPress was quite simple; it is the most popular blogging CMS in the world and has a vibrant developer community around it.

Along with WordPress, I used LetsEncrypt for SSL and CloudFront for media hosting. And the setup was super simple and at a very nominal cost.

So, I installed WordPress with Apache Webserver, and LetsEncrypt’s CLI tool certbot had the support to read/write apache config files, and the SSL setup was a breeze. I remember spending hours to set up SSL certs not many years back.

I wanted to move the media library out of the server because I did not want to worry about disk space and disk IO. So, I used the WP Offload Media Lite plugin, which allowed me to move the media library to AWS S3. And, it also has support to add a CDN URL. So, I set up CloudFront with a custom domain, and to my surprise, the SSL setup was as easy as LetsEncrypt.

Next, backups are essential! And, I assumed that I have to write a cronjob to back up the files and database to AWS S3, but I looked for a plugin first, and I found one. UpdraftPlus – Backup/Restore has support for automated backups and can backup WordPress files (plugins, themes, uploads, etc.) and database to AWS S3 (and has support for several other cloud storage solutions).

Other Plugins

Here is a list of few other plugins I found useful:

Share Buttons by AddThis: A easy way to set up neat social share buttons to your posts.

Yoast SEO: This plugin enables seamless meta tags set up for social share cards, such as Facebook, Twitter, and Linkedin. So, a perfect complement to the AddThis plugin.

Site Kit by Google: Set up Google Analytics, Google Search Console, PageSpeed Insights, Google Tag Manager, Google AdSense, Google Optimize through OAuth. So, No code editing required.

Email Subscribers & Newsletters: Pretty nifty plugin to set up email subscriptions for your blog. But, it does expect that your site is configured to send emails. However, it wasn’t a big challenge because I was able to quickly set up WP Offload SES Lite to send emails using AWS SES.

WP-CLI: Unlike traditional WordPress plugins, WP-CLI is a command-line tool. So, we have to install it on the host server. This tool allows you to install and update plugins and themes from the command line without exposing an FTP server.

Theme Customization

And finally, the Theme. WordPress came with TwentyTwenty as the default theme. It has plenty of customization options and custom CSS support. So, customizing the Theme to my liking didn’t take very long.

Leave a Reply

Your email address will not be published. Required fields are marked *