I think Rewrite is the solution you are looking for. First, you'll need to upgrade from "PrettyFaces 3.x" to "Rewrite Config PrettyFaces" using the steps outlined here: PrettyFaces Homepage. This should be a drop-in replacement, requiring no additional configuration on your part.
Once you've upgraded and verified that your application is working normally using the "Rewrite Config Prettyfaces" module, you'll want to create a Rule in a new Rewrite Configuration Provider (follow the steps on the Rewrite Homepage):
package com.example;
public class AllPagesToOneViewProvider extends HttpConfigurationProvider
{
@Override
public int priority()
{
return 0;
}
@Override
public Configuration getConfiguration(final ServletContext context)
{
return ConfigurationBuilder.begin()
.addRule(Join.path("/{all}").to("/pages.xhtml"))
.where("all").matches(".*");
}
}
NOTE:
^^ Make sure to register this Configuration Provider in your META-INF/services (as described in the instructions!)
I've also added an issue to support the super-wildcard character in the next version of Rewrite, meaning you will be able to use a Join Annotation instead of being required to create a Configuration Provider just for this one rule (however, I think you will find the Configuration API useful.)