Lightning-Fast Redirect Question Hi all,
Real quick question here. I'm a rookie to site security as well as site optimization. I want to prevent people from peeping at the directories of my site - for example, <u>www dot mysite dot com / images</u> will show them a list of all the files in my images directory.
What I did was make a simple index.html file and stuck it in that directory. All it does is redirect the user back to the main index page. Code looks like this:
<META HTTP-EQUIV='refresh' CONTENT='0;URL=www dot mysite dot com'>
Is this standard practice, or is there a better way to do this? And do the search engines frown upon such redirects? I've used my robots.txt file to keep them out of the /images/ directory anyway, but I figured I'd ask.
Thanks!
__________________ V.Vadivelan There never a wrong time to do the right thing. |