I am trying to forward the location of a directory, e.g., www.example.com/dir
to a file in itself, e.g., www.example.com/dir/file.php
. The following is my .htaccess
configuration:
Redirect /dir http://example.com/dir/file.php.
I am getting a redirect loop in this fashion:
example.com/dir/file.php/file.php/file.php/+...+file.php ad nauseam.
Fairly new at this logic so clearly I may have missed something.