How to close the blog?

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

How to close the blog?

Post by Fabien » Mon Nov 16, 2015 10:05 am

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)

User avatar
yellowled
Regular
Posts: 7036
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: How to close the blog?

Post by yellowled » Mon Nov 16, 2015 12:40 pm

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
amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
Fabien
Regular
Posts: 161
Joined: Wed Mar 15, 2006 2:02 pm
Location: Paris (France)
Contact:

Re: How to close the blog?

Post by Fabien » Mon Nov 16, 2015 2:05 pm

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)

User avatar
Don Chambers
Regular
Posts: 3633
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: How to close the blog?

Post by Don Chambers » Thu Nov 19, 2015 8:37 pm

Another option is discussed here.

I think this should be an administrative option. Opinions?

User avatar
Fabien
Regular
Posts: 161
Joined: Wed Mar 15, 2006 2:02 pm
Location: Paris (France)
Contact:

Re: How to close the blog?

Post by Fabien » Fri Nov 20, 2015 7:11 am

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)

User avatar
Don Chambers
Regular
Posts: 3633
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: How to close the blog?

Post by Don Chambers » Fri Nov 20, 2015 4:51 pm

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.

ICE
Regular
Posts: 239
Joined: Tue Jun 28, 2005 11:15 pm

Re: How to close the blog?

Post by ICE » Fri Apr 08, 2016 2:17 pm

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