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 (permalink)  
Old 01-28-2008, 05:52 AM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 803
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
Sponsored Links
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fast Ethernet simplesabita Networking & Internet Connectivity 1 03-17-2008 10:50 PM
".Which one works fast concatenation or variable.. replacement ..? oxygen PHP Programming 1 07-26-2007 03:30 AM
How many ways I can redirect a PHP page? senraj PHP Programming 1 07-20-2007 05:26 AM
In timer Elapsed, i tried to redirect to another page... kingmaker C# Programming 0 07-19-2007 10:51 PM
How do I use .htaccess to redirect LennyP Server Management 2 02-26-2007 03:04 AM


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


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0