simple redir rule question - changed directory

Jun 24, 2010 at 2:47 AM

I want to move a directory on my site -  (bunch of files under here)

to a new dir

and want to remap any url pointing to the old path to the new one. there are lots of files and images in there, so i cant do a simple per-file rule.

I know this is easy stuff but I didnt find a good example for it ;) Thanks


Jun 28, 2010 at 8:54 PM

You'll need to decide whether you want to Rewrite or to Redirect, or both. 

After you decide on that, then you will be able to figure out the rule very easily. 

If you're not clear on the distinction, read the section in the IIRF documentation on the difference between Rewrite and Redirect.


Jul 5, 2010 at 10:11 PM

yes sorry I figured this out pretty shortly after posting... I was wanting a redirect (as the folder path had changed), so just used a parameterized rule to perform the redir. Thanks!