Reply To: Redirect w/o changing outbound URL

Splash Forums Rewrite Users Redirect w/o changing outbound URL Reply To: Redirect w/o changing outbound URL

#26009

Try something like this, as Christian says:

return ConfigurationBuilder.begin().addRule()
.when(Direction.isInbound().and(Path.matches(“/{in-path}{in-rest}”)))
.perform(Forward.to(“/good{in-rest}”))
.where(“in-path”).matches(“bad”).where(“in-rest”).matches(“.*”)