Re: Redirect to external URL

Splash Forums PrettyFaces Users Redirect to external URL Re: Redirect to external URL

#20727

Hey Markus,

I just checked this again and I can confirm that 3.1.0 works well:

<dependency>
<groupId>com.ocpsoft</groupId>
<artifactId>prettyfaces-jsf12</artifactId>
<version>3.1.0</version>
</dependency>

<rewrite match="/foo/bar" url="http://www.google.de" redirect="301"/>

Just 3.2.0 is currently broken. Could you make sure PrettyFaces 3.1.0 is the only PrettyFaces version on your classpath? Some build tools (like M2Eclipse) require you to perform a full “clean” if you change an artifact version as otherwise there may be older JARs in your classpath.

Christian