Re: what ever user type in URL redirect to main page

Splash Forums PrettyFaces Users what ever user type in URL redirect to main page Re: what ever user type in URL redirect to main page

#23391

You could do something like this with a custom rewrite processor. See the part of the documentation for details:

http://ocpsoft.org/docs/prettyfaces/3.3.3/en-US/html/inbound_rewriting.html

However I don’t think this will be easy. You will have to make sure that the redirect occurs only for URLs that would result in a 404. This means that you will have to make sure you don’t break your CSS files or graphics.