Reply To: Join replaced by isInbound isOutbound not working

Splash Forums Rewrite Users Join replaced by isInbound isOutbound not working Reply To: Join replaced by isInbound isOutbound not working

#26468

Also, you probably want to fire the rule only when that parameter exists…

.addRule()
.when(Direction.isOutbound().and(Path.matches("/artist-albums.xhtml")).and(RequestParameter.exists("artistUrl")))
.perform(Substitute.with("/{artistUrl}"))
.where("artistUrl").matches("[a-z0-9-]+").bindsTo(RequestBinding.parameter())

Etc..