Re: multi-language url rewiting. Is it possible?

Splash Forums PrettyFaces Users multi-language url rewiting. Is it possible? Re: multi-language url rewiting. Is it possible?

#23428

If you are redirecting to the native URL pages/main/welcome.jsf in your index.html file, you are circumventing PrettyFaces, and you will likely not see what you expect.

I’d suggest redirecting to a page that PrettyFaces knows about, like so:

<html>
<head>
<meta http-equiv="Refresh" content="0;url=it/main/welcome">
</head>
</html>

Outbound URL-rewriting isn’t active in plain HTML like the above page, so you need to use the pretty URL in the redirect manually.