how do i stop people accessing my website?

Soldato
Joined
2 Jun 2004
Posts
18,423
i'm going to be doing some pretty major upgrades and maintenence to my site soon, and i don't want people messing around with stuff until it's all finished.

so how do i stop people accessing the site, but still be able to acess as usual myself?

ideally i'd like to re-direct visitors to a temporary html/php file, which explains the situation.
 
seek said:
i'm going to be doing some pretty major upgrades and maintenence to my site soon, and i don't want people messing around with stuff until it's all finished.

so how do i stop people accessing the site, but still be able to acess as usual myself?

ideally i'd like to re-direct visitors to a temporary html/php file, which explains the situation.

Redirect in the .htaccess file?

To catch all traffic:

Redirect 301 / /construction.php

To catch only index.php traffic:

Redirect 301 /index.php /construction.php
 
Do your dev work on a subfolder/domain? That way no one will know.
Otherwise put index.html with upgrade info. Providing you're using index.php yourself...
 
I usually have a development sub domain.

E.g. http://dev.website.com

That way visitors can continue to use the site as you work away in the background, and when you're done, flick the upgraded version over onto the main web directory in one seamless upgrade.
 
iCraig said:
I usually have a development sub domain.

E.g. http://dev.website.com

That way visitors can continue to use the site as you work away in the background, and when you're done, flick the upgraded version over onto the main web directory in one seamless upgrade.
well i'm changing my site from a simple html site to a CMS based site, becasue i'm sick of everything taking forever to edit/update.

i'm not sure it's possible to do it in a sub domain?
 
You don't even really need to re-upload the site when you're done either, just get your host to move the files (it's a 2 second operation).
 
i do everything locally first, and upload it when i'm done. that way there's no chance that anyone can see/use it until it's done.
 
Adz said:
You don't even really need to re-upload the site when you're done either, just get your host to move the files (it's a 2 second operation).
well the problem is that the cms doesnt work unless you have the structure...

/forum
/portal
index.php

and the forum is already installed and active, so i can't really set the cms up in another folder because it wont work.
 
Sic said:
i do everything locally first, and upload it when i'm done. that way there's no chance that anyone can see/use it until it's done.

That's what you think.

I am an 11 year old hacker and have your IP address, therefore I have access to your computer and can see all your files.
 
Back
Top Bottom