Kemi has attended:
Dreamweaver 8 Intermediate course
Blocking access to a site
Hi Richard,
How are you? Thank you for the responding to my first question last week.
How do stop people from accessing a website?
I copied all the data from one site to another and intend to use the old site for something else, but no matter what the communication, people still use the old site mainly because they have it as their favourite/start page.
I need to be able to block access to the site, is there some code that I can use.
Many thanks,
Kemi.
RE: Blocking access to a site
Hi Kemi,
You can usually set up password protection on your web server. Ask your hosting company for details, or log in to your hosting company's control panel.
If your web server is Apache, see this article about editing .htaccess:
http://www.cs.dal.ca/studentservices/faq/tutorials/web_sites/htaccess.shtml
You can use Bravenet's password protector, fairly easy to set up:
http://www.bravenet.com/webtools/passwd/index.php
See also:
http://www.poppydog.com/prod/pwdProtect.jsp
http://webdeveloper.earthweb.com/webjs/jssecu/item.php/27321
If you use PHP (note all your page will need to be .php for this to work), see this article on setting up an include password protect file:
http://www.zubrag.com/scripts/password-protect.php
Let me know how you get on.
Regard, Rich