Hi Shailendra,
you could check for these URLs in App_Data\
Global.asax.cs, in Application_BeginRequest method.
If the URL matches one of the variations, you could call
Response.Redirect("http://www.xyz.com/");The code itself may look like:
...
//add also other strings into the condition
if (URLRewriter.CurrentURL.ToLower().Contains("home"))
{
int urlEnd = CMSContext.RawUrl.LastIndexOf("/");
Response.Redirect(CMSContext.RawUrl.Substring(0, urlEnd));
}
...
In the surrounding code:
...
// Rewrite the path to get to the proper page
switch (URLRewriter.RewriteUrl())
{
// Document page
case URLRewritingResultEnum.PathRewritten:
{
if (CMSContext.ViewMode == ViewModeEnum.LiveSite)
{
//add also other strings into the condition
if (URLRewriter.CurrentURL.ToLower().Contains("home"))
{
int urlEnd = CMSContext.RawUrl.LastIndexOf("/");
Response.Redirect(CMSContext.RawUrl.Substring(0, urlEnd));
}
// Check parameters
...
Hope this will be useful.
Regards
Zdenek Cetkovsky