Forum Moderators: mack

Message Too Old, No Replies

How to Redirect Everything within a Directory?

         

andmunn

2:42 am on Jul 1, 2006 (gmt 0)

10+ Year Member



Hello,

I have a directory on my server (lets call it "dir"). Anytime anyone tries to access any file within dir, let say:

www.myexample.com/dir/files/file.php
OR
www.myexample.com/dir/index.php
or
www.myexample.com/dir/files/files/index.php

it will redirect to another page - how do i go about accomplishing this? BAsically, any type of access to the "dir" directory get's forwarded to another page.

Andrew.

mack

5:12 pm on Jul 5, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



This thread...
[webmasterworld.com...]

Should be able to help you get started.

Mack.