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.
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.
I haven’t decided which permalink structure to use. Will it be this?
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.
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.
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.
Previous and Next Articles (if any):
Your comment will appear below the form when it's approved. When the page redisplays after hitting the send button (it takes a few seconds), your comment has been sent.
When replying to someone else's comment, please start the comment with "@" and the name so I can put it in the right place.
Please read some of my more important pages if you have the time: