Need help with redirect

Jul 25, 2012 at 2:12 PM
Edited Jul 25, 2012 at 2:13 PM

I need to redirect any request to / (the web root) internally to /target/

By internally I mean without visually redirecting the user to /target/

If not possible, a 'visible' redirect is sufficient as an alternative then.

Jul 25, 2012 at 9:27 PM

RewriteRule (.*) target/$1

To get a real redirect you need to append [R] at the end of the rule