How to close the blog?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

How to close the blog?

Post by Fabien »

Hello,

I have to do a lot of modifications in the entries of my blog. During this, I need two things
  1. Nobody can read the blog.
  2. I can access the administration in order to do the modifications.
How can I do that?

Thanks,
Fabien
Fabien Chabreuil (blog)
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: How to close the blog?

Post by yellowled »

Fabien wrote:I have to do a lot of modifications in the entries of my blog. During this, I need two things
  1. Nobody can read the blog.
  2. I can access the administration in order to do the modifications.
How can I do that?
Assuming that the blog is running on an Apache web server and your web hoster allows you to do so, by adding a password protection by generating a .htapasswd file. (This is completely independent of s9y, by the way.)

See http://www.htaccesstools.com/articles/htpasswd/ (note that they offer an online generator for .htpasswd files as well).

YL
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

Re: How to close the blog?

Post by Fabien »

Thank you Yellowled,

You are right. It's a solution, not a perfect one because I should have preferred that visitors see a page saying that the blog is temporarily closed rather than a password form. But I'll use this solution if it's the only one.

Cheers,
Fabien
Fabien Chabreuil (blog)
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: How to close the blog?

Post by Don Chambers »

Another option is discussed here.

I think this should be an administrative option. Opinions?
=Don=
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

Re: How to close the blog?

Post by Fabien »

I have tried to use the Dashboard plugin but it doesn't work for me. So I have used the password solution.

I agree, closing the board should be an administrative option.
Fabien Chabreuil (blog)
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: How to close the blog?

Post by Don Chambers »

Fabien wrote:I have tried to use the Dashboard plugin but it doesn't work for me. So I have used the password solution.
In the forum thread I referenced above, there is an option I use with a temporary .htaccess file, and a corresponding 503.php file. I think this is the best possible solution at the moment. It is also search engine friendly by sending 503 Service Temporarily Unavailable headers.
=Don=
ICE
Regular
Posts: 240
Joined: Tue Jun 28, 2005 11:15 pm

Re: How to close the blog?

Post by ICE »

I've asked the same question in the year 2005 in the german part of this forum: http://board.s9y.org/viewtopic.php?f=10&t=2562

Unfortunately, it is still impossible to deactivate the blog in the admin area ...
Post Reply