IT Community - Software Programming, Web Development and Technical Support

Lightning-Fast Redirect Question

This is a discussion on Lightning-Fast Redirect Question within the Search Engine Optimization forums, part of the Webmaster Space category; Hi all, Real quick question here. I'm a rookie to site security as well as site optimization. I want ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Webmaster Space > Search Engine Optimization

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 01-28-2008, 04:52 AM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 801
vadivelanvaidyanathan is on a distinguished road
Default 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.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fast Ethernet simplesabita Networking & Internet Connectivity 2 12-04-2008 07:40 PM
Redirect your users without using PHP chetan1 PHP Programming 0 05-06-2008 12:53 AM
MSSQL Log File Is Growing Fast in MSSQL 2005 ? bluesky Server Management 5 11-12-2007 04:12 AM
".Which one works fast concatenation or variable.. replacement ..? oxygen PHP Programming 1 07-26-2007 02:30 AM
How do I use .htaccess to redirect LennyP Server Management 2 02-26-2007 02:04 AM


All times are GMT -7. The time now is 03:12 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0