Kévin,
you can probably include following velocity script in your pages.
#if($request.getRequestURL().substring(7,32)!
="www.familleassociative.fr")
## (please count characters yourself!)
$response.sendRedirect("http://www.familleassociative.fr/${request.getRequestURL().substring(32)}")
#endAnd maybe even you can put this code in Xwiki settings: ../xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Presentation at the end of "HTTP Meta Information" field. Valdis > Thanks Vincent ! > > It works fine now : > http://www.familleassociative.fr/xwiki/bin/view/Main/WebHome > > but all the content is also available at http://familleassociative.myxwiki.org > > I learned that it was not a good thing to have two valid Url for a website. > Is it possible to force with Url rewriting or other to lead to new domain > name ? > > Thanks > > Kévin ... _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
