I am trying to do URL Rewriting from Global.ascx file but every time it redirects to Default.aspx page and ignores the Tab id as i am doing it in DotNetNuke ver. 06.01.03 (108). Here is the code:
if (CurrentURL_Path.Contains("scientific-cameras"))
{
HttpContext.Current.RewritePath("~/Default.aspx?TabId=105");
}
I have created a page abc.aspx
I want that if "scientific-cameras" is contains in the url then it redirect to the page (abc.aspx) and 105 is TabId for abc.aspx.