From Pine View Farm

Meta: How I Took My Site Dark 0

I have seen several posts from various bloggers saying that they supported yesterday’s blackout, but feared taking down their sites because they were afraid they couldn’t get them back up.

The solution is simple–you don’t take down your site. (I’m tempted to add, “For Pete’s sake!”)

When a browser hits a site, it resolves by default to a file named index.html. If no index.html is present, it looks for index.php, and so on, through the various recognized formats.

I created the redirection page to send browsers to nosopa.org and added a little text to it, so, if the redirection were delayed for some reason, users would know they had landed at the right place and why there was no there there.

I then used FTP to rename my index.html and index.php files to index.html.orig and index.php.orig (the browser doesn’t know what to do with a *.orig–my term for “original”–file) and to send my new index files to the website. I left the rest of the website untouched.

When a browser hit the site, it saw the new index files with the redirection command and sped over to nosopa.org.

Late last night, I used FTP to delete the special index files and renamed to *.orig files back to their regular names, and Viola! the site was restored.

Piece of cake.

Share

Comments are closed.

From Pine View Farm
Privacy Policy

This website does not track you.

It contains no private information. It does not drop persistent cookies, does not collect data other than incoming ip addresses and page views (the internet is a public place), and certainly does not collect and sell your information to others.

Some sites that I link to may try to track you, but that's between you and them, not you and me.

I do collect statistics, but I use a simple stand-alone Wordpress plugin, not third-party services such as Google Analitics over which I have no control.

Finally, this is website is a hobby. It's a hobby in which I am deeply invested, about which I care deeply, and which has enabled me to learn a lot about computers and computing, but it is still ultimately an avocation, not a vocation; it is certainly not a money-making enterprise (unless you click the "Donate" button--go ahead, you can be the first!).

I appreciate your visiting this site, and I desire not to violate your trust.