Page 1 of 1

How to close the blog?

Posted: Mon Nov 16, 2015 9:05 am
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

Re: How to close the blog?

Posted: Mon Nov 16, 2015 11:40 am
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

Re: How to close the blog?

Posted: Mon Nov 16, 2015 1:05 pm
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

Re: How to close the blog?

Posted: Thu Nov 19, 2015 7:37 pm
by Don Chambers
Another option is discussed here.

I think this should be an administrative option. Opinions?

Re: How to close the blog?

Posted: Fri Nov 20, 2015 6:11 am
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.

Re: How to close the blog?

Posted: Fri Nov 20, 2015 3:51 pm
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.

Re: How to close the blog?

Posted: Fri Apr 08, 2016 2:17 pm
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 ...