Reply To: 301 permanent Redirect

Splash Forums Rewrite Users 301 permanent Redirect Reply To: 301 permanent Redirect

#27280

Just iterate like you normally would, and call the builder.addRule() method from within your loop:


loop ( over stuff )
{
    builder.addRule()
      .when(Direction.isInbound().and(Path.matches(key)))
      .perform(Forward.to(value));
}