how to secure a site using .htaccess

hi guys

How does one secure sites using .htaccess ?

i mean if on wants all users to be redirected to a particulat file, no matter what
one types or tres to go directly to forums directory or another directory.

eg i want all visitors to be redirected to

ww.mysite.com/index.php , even if they type

ww.mysite.com/forums/index.php or ww.mysite.com/xxx/index.php

how to secure a site using .htaccess

 

 

 

 

Top