You've successfully subscribed to Ian Martin
Great! Next, complete checkout for full access to Ian Martin
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info is updated.
Billing info update failed.
Ghost for posts

Ghost for posts

Ian Martin

I use ghost as my publishing platform. It's simple, lightweight and, compared to Wordpress, it's a writers' dream.

Sometimes however you need to grapple with the nuts and bolts under the bonnet in order to make Ghost work.

For example, when installing ghost for the very first time I was stumped on to how to make https:// the default for incoming connections. This is important for security, privacy, overall site credibility, and as a lightweight ranking factor for SEO.

Once I'd issued an SSL certificate using Let's Encrypt, a little plugin called Really Simple SSL did it everything for me in Wordpress. With ghost it's not so simple.

So here's the commands I had to typed into the Mac terminal on my home computer in order to get SSL working in Ghost.

ssh [username]@[hostname] -p 17177
cd [ghost installation directory]
ghost config set url https://[hostname]
ghost restart

I did all this after I'd forced http to https redirection by editing the .htaccess file in the home folder provided by my webhost which is FastComet.

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Once I'd done that it was case of flushing the cache and testing in a web browser.

I highly recommend FastComet for ghost hosting. They do Wordpress too.

FastComet - Managed Cloud Hosting with 24/7 Support
FastCloud® - Advanced cloud hosting platform with 24/7 Expert Support & 11 Datacenter Locations. We will handle caching, transfers, security, updates.

Of course I am happy with command line because I have been around on the internet a long time..

You may not be so comfortable so proceed with caution. Ghost definitely requires some command line knowledge and a willingness to tinker.