Close
Menu

RTCXpression

I’m Going Totally Static with this Website – Update your Subscriptions


August 18, 2016

I’m going totally static with this website soon, very soon. It could be later today or it could be tomorrow. Tomorrow at the latest (unless something unexpected happens). It depends on how long it takes me to change the code I’m already using to cache everything.

To get to this point, I had to change the way I was thinking. I was so used to dealing with everything at the web server itself, I completely forgot how easy it is do things on my home computer.

Going Totally Static – Update your Subscriptions

I know some of you receive my articles through e-mail. I also know some of you read the RSS feed. The feed will still work, but the e-mail option won’t. That’s because the back-end code to read it and send it won’t exist anymore.

I’ve already connected the feed to FeedBurner – the feed icon below points to it. The original feed and the FeedBurner feed will both work. I’m not redirecting the original feed.

I’ve already replaced the WordPress Jetpack subscription form in the footer below with the one from FeedBurner. If you’re subscribed by e-mail, you’ll receive at least one more message from it. The next will come from FeedBurner once you subscribe with that form. I did, just to make sure it works.

Permalinks and Updates

I haven’t decided which permalink structure to use. Will it be this?

https://www.rtcx.net/totally-static-website/

No. It would mean I have to make the URL a directory and then have “index.htm” or “index.html” under it.

I have three choices:

https://www.rtcx.net/totally-static-website

or

https://www.rtcx.net/totally-static-website.htm

or

https://www.rtcx.net/totally-static-website.html

I’ll probably go with the third. It just looks better. If I set the WordPress permalink to “/%postname%.html”, it works for posts but not for pages. To get it to work for pages (like the contact page, which I’ll have to change), I’ll have to use the Add Any Extension to Pages plugin.

As far as updates go, I’ll be uploading the pages via FTP (FTPES, actually). I’ve done some tests and it would take less than 15 minutes to upload every page. That’s with the volume I have now. I can do it every time I publish a new article if I want to do it that way. A more practical way is to do it like that once and then upload only the pages that have changed since the last upload.


Since all the pages get uploaded to the root directory of the website, it isn’t complicated. Setting everything else up is what’s complicated. The CSS files and the JavaScript files (if any) have to be moved from their current locations and my child theme CSS code has to be merged into the main CSS code.

It may seem like it’ll take a long time to get things rolling, but it really won’t. I think I’ll be done tomorrow, but only because I don’t feel like working on it this evening.

About the Contact Form and Comments

The contact form will contain my e-mail address and a few lines of text. I don’t worry about e-mail spam at all these days.

I’ll be using Disqus for comments. It’ll work fine and those who really want to post a comment won’t have any reason not to.

What does this all mean in the long run? I won’t need to use PHP or MySQL for anything. It’ll be pure HTML and it’ll be secure. I’ll still using WordPress, but only as a static site generator from my home computer.

Please go to this alternate page if you would like read or post comments.

Share:

Categories: Technology

Tags: , , , ,

Previous and Next Articles (if any):

« »

More

Please read some of my more important pages if you have the time:

Comments Policy           Privacy Policy

RTCXpression established Feb 28, 2011
Copyright © 2013-2017 RT Cunningham
Hosted at Digital Ocean