1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

temporary disabling website

Discussion in 'HTML & Website Design' started by wweng7, Oct 6, 2006.

  1. #1
    I would like to know how to procede to disable a web site from external viewing while overhauling the web site content?.
     
    wweng7, Oct 6, 2006 IP
  2. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Password protect the root directory using .htaccess/.htpasswd. Most hosting control panels can create the login mechanisms for you.
     
    the_pm, Oct 6, 2006 IP
  3. national-parks

    national-parks Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Just set up a rewrite rule that redirects any request that's not to the "down" page to the down page.
     
    national-parks, Oct 6, 2006 IP
  4. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The one problem with this is OP might want to test the site while it is in production, and he'll be redirected too :)
     
    the_pm, Oct 6, 2006 IP
  5. rb3m

    rb3m Peon

    Messages:
    192
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Do you want to lose your visitors while you work on your new site? Better setup a testing environment in your computer at home or in a different folder or subdomain in your site and switch when your ready.
     
    rb3m, Oct 6, 2006 IP
  6. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #6
    Password protection.
     
    eXe, Oct 6, 2006 IP
  7. Pat Gael

    Pat Gael Banned

    Messages:
    1,331
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you are using cPanel, rename public_html to anything else (via FTP) and create a new one with a temporary index page.

    For testing purposes just rename such directories again.
     
    Pat Gael, Oct 6, 2006 IP
  8. wweng7

    wweng7 Peon

    Messages:
    508
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thank you all.
     
    wweng7, Oct 7, 2006 IP
  9. blade_922

    blade_922 Well-Known Member

    Messages:
    396
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #9
    No problem. I would use Password Protection.
     
    blade_922, Oct 7, 2006 IP