I am using url rewrite filter with Seam. All is working great.
I want to add a rule that will force the url to start with www
.
I add this rule:
<rule> <name>Canonical Hostnames</name> <condition name="host" operator="notequal">^www.snaptale.com</condition> <condition name="host" operator="notequal">^$</condition> <from>^/(.*)</from> <to type="redirect" last="true">http://www.snaptale.com/$1</to> </rule>
Rewrite rules of the url rewrite filter are working good.
But when I encounter a url that is rewritten by Seam (on the pages.xml), the url is not redirected properly. Is there any known problem on this issue?