Using modrewrite to redirect folder

Hello I have this folder http://www.mydomain.com/eng/folder/ and I would like ANY content in there, to be redirected to http://www.mydomain.com

Thanks.
ametradeAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
virmaiorConnect With a Mentor Commented:
RewriteEngine On
RewriteRule ^.*$ http://www.mydomain.com [R]

place that in a .htaccess in the http://www.mydomain.com/eng/folder/ directory

0
 
ametradeAuthor Commented:
Thank you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.