Reply To: Create Rule to Redirect\Change URL in the Address Bar of the Browser

Splash Forums Rewrite Users Create Rule to Redirect\Change URL in the Address Bar of the Browser Reply To: Create Rule to Redirect\Change URL in the Address Bar of the Browser

#27454

You can use .withInboundCorrection() on a Join for this.

Also note that should not use query parameters in the .to() part of your rule. Path parameters are automatically transformed in a query parameter with the name of the parameter. So the rule should look like this:

.addRule(
  Join.path("/recommended/{recd}").to("/Recommended.xhtml").withInboundCorrection()
)

I hope this helps.