A long time ago, I set up a WordPress blog for a family member. There are lots of options these days, but back then there were few decent choices if you needed a web-based CMS with a WYSIWYG editor. An unfortunate side effect of things working well is that the blog has generated a lot of content over time. That means I was also regularly updating WordPress to protect against the exploits that are constantly popping up.rnrnSo I decided to convince the family member that switching to Hugo would be relatively easy, and the blog could then be hosted on GitLab. But trying to extract all that content and convert it to Markdown turned into a huge hassle. There were automated scripts that got me 95% there, but nothing worked perfectly. Manually updating all the posts was not something I wanted to do, so eventually, I gave up trying to move the blog.rnrnRecently, I started thinking about this again and realized there was a solution I hadn't considered: I could continue maintaining the WordPress server but set it up to publish a static mirror and serve that with GitLab Pages (or GitHub Pages if you like). This would allow me to automate Let's Encrypt certificate renewals as well as eliminate the security concerns associated with hosting a WordPress site. This would, however, mean comments would stop working, but that feels like a minor loss in this case because the blog did not garner many comments.rnrnHere's the solution I came up with, which so far seems to be working well:rnrn Host WordPress site at URL that is not linked to or from anywhere else to reduce the odds of it being exploited. In this example, we'll use http://private.localconspiracy.com
(even though this site is actually built with Pelican).rn Set up hosting on GitLab Pages for the public URL https://www.localconspiracy.com.rn
Add a cron job that determines when the last-built date differs between the two URLs; if the build dates differ, mirror the WordPress version.rn After mirroring with wget, update all links from "private" version to "public" version.rn Do a git push to publish the new content.
Official news on crawling and indexing sites for the Google index
This article will walk through the process of installing LEMP (Linux, Nginx, MariaDB and PHP) environment in Fedora 22 systems to deploy PHP applications.
This tutorial describes how to install LEMP stack on Fedora 23 and it's older versions.
Learn more about Paragraphs, a Drupal module for content creators, in this interview with Murray Woodman of Morpht.
It's not too late to ditch the ad-based business model and build a better web.
The internet is vast and wild and unknowable and full of potential, unless you are a website. If you are a website, you depend on traffic. And if you depend on traffic, you know that it comes from just a ...
Infographics are a challenge to present in a responsive website (or, really, any context where the container could be any width).
In this article we've compiled 4 commandline tools to monitor MySQL database uptime, load and performnace in Linux.
Breaking news and analysis from TIME.com. Politics, world news, photos, video, tech reviews, health, science and entertainment news.
There's a terrible plague happening on the Web today. Social media buttons are blaring from almost every site imaginable. Each time you load a page, there they are again! They implore you to "like this" or "tweet that" or "+1" whatever. It's gotten almost unbearable over the last couple of years.
Fargo 2, the next version of Fargo, is in beta, and pretty close to release. The major change in this release is the CMS isn't in the server, it's in the static app that runs on the user's desktop.
Il commissario Semeta ritiene che il balzello sia in contrasto con i "principi di non-discriminazione" dei trattati
The same syntax from the CSS spec, using the var() function.
Is the WordPress release cycle to quick?
OpenLogic provides sourcing, downloads, scanning, governance, support, and services for Open Source Software
unv.is is a tool to escape clickbait, trolls and idiots.
I have a new server to play with, and I am staring at a blank canvas. I can put anything I want on it. While I am comfortable with Apache, I keep hearing how nginx can handle so much more traffic t...