Re: Question about redirect with pretty faces

Splash Forums PrettyFaces Users Question about redirect with pretty faces Re: Question about redirect with pretty faces

#20661

balteo
Participant

Hello again Lincoln,

The tutorial about regexp is neat. Still I must be getting something wrong with this:

<rewrite match=”/lang/(fr|en)/sculpture/(.+)-(\d+)” substitute=”/lang/$1/galerie/sculpture/$2-$3″ redirect=”301″/>

The above regexp does not match with this:

“http://localhost:8080/jeanbaptistemartin/lang/fr/sculpture/La+pose-3”

At least I get a 404 when inputing this URL.

Can you help?

Thanks in advance,

J.