I try to rewrite the URL from the Global.ascx file, but every time it is redirected to the Default.aspx page and ignores the Tab identifier, as I do in DotNetNuke ver. 01/06/03 (108). Here is the code:
if (CurrentURL_Path.Contains("scientific-cameras"))
{
HttpContext.Current.RewritePath("~/Default.aspx?TabId=105");
}
I created the page abc.aspx
I want that if the url contains "scientific cameras", then it will be redirected to the page (abc.aspx), and 105 - TabId for abc.aspx.
source
share