Re: mapping welcome file to prettified url

Splash Forums PrettyFaces Users mapping welcome file to prettified url Re: mapping welcome file to prettified url

#21801

Serkan Durusoy
Participant

Hi Lincoln,

Thanks for your interest. Please forget about any “issue” that I described. What I actually want to know is this:

is there a way to make sure when a visitor directly accesses the welcome file “index.xhtml”, he is redirected to “/”

What I’m trying to accomplish is to avoid:

http://mydomain/myapp/index.xhtml

http://mydomain/myapp/

to both get into the google index. In fact, I don’t want anyone to know about index.xhtml.

Can I somehow use prettyfaces for this purpose?

Thanks,

Serkan