[eluser]codex[/eluser]
[quote author="TheFuzzy0ne" date="1237573879"]I am no expert on the subject, but:
Code:
^http://www.domain.com/files/$
will only match if there is nothing appended after the end of the string. I'd also suggest doing an internal redirect rather than telling the browser to look in assets/files/whatever/blah/.
This might work:
Code:
RewriteRule ^(files/.*) assets/$1 [L]
[/quote]
Thanks, but unfortunately that doesn't work either. The internal redirect however works! My only concern is performance. Let's say you have a lot of images on the same page all doing the redirect, wouldn't that hurt performance?