Forums

I do not know how to take my site down (2 posts)

  1. sweetone
    Member
    Posted 2 years ago #

    Hi there. Someone else set up my site with wp, and I want to take it down. I will want to put it up again soon, but for now, I dont want anyone to see my site, so I guess I would like an error message to come up or something. Can someone tell me how to do this?

  2. Sivar
    Member
    Posted 2 years ago #

    Two possibilities come to mind...

    1) If you don't have a home.php in your theme, create one and put your error message into it. If home.php exists, it will automatically be your front page. However, if someone follows a direct link to an archive oder a post (or types in such a link as URL), your site will still be visible as it is now.

    2) The next best thing would be to rename your index.php to i.e. myindex.php, create a new index.php, and then again put your error message into it.

    If you have a home.php, you might consider replacing it as (2) describes for the index, and (for additional "safety") do the same with index itself.

    By the time you want to revive your blog, you just (1) delete the home.php or (2) replace index.php with myindex.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.