Solved

Using modrewrite to redirect folder

Posted on 2008-06-25
2
239 Views
Last Modified: 2011-09-20
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.
0
Comment
Question by:ametrade
2 Comments
 
LVL 20

Accepted Solution

by:
virmaior earned 500 total points
ID: 21874514
RewriteEngine On
RewriteRule ^.*$ http://www.mydomain.com [R]

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

0
 

Author Closing Comment

by:ametrade
ID: 31470591
Thank you!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question