Forum Moderators: phranque
Code:
Redirect permanent /bob [myschool.edu...]
creates a loop, and using the NS option makes no difference
Code:
Redirect permanent /bob [myschool.edu...] [NS]
Since some subdirectories have index.php, my attempt at RedirectMatch with /bob/(!index.php) allows them to get through.
Can anyone point me in the right direction?
Thanks,
Mike
Welcome to WebmasterWorld!
> Can anyone point me in the right direction?
I'd recommend using mod_rewrite:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/bob/index\.php$
RewriteRule ^bob/ http://www.example.com/bob/index.php [R=301,L]
Jim