Thanks for your quick response.
I use a few aspx pages, and just used KeepAlive as example of what happens if I want to go to a aspx (not default.aspx) pages directly. In the mean time I've discovered that the redirect in the URLREWRITEMODULE causes my problem:
It goes into the following IF, because my first active tab has an entry in property Url:
' manage page URL redirects - that reach here because they bypass the built-in navigation
' ie Spiders, saved favorites, hand-crafted urls etc
If _portalSettings.ActiveTab.Url <> "" AndAlso Request.QueryString("ctl") Is Nothing _
AndAlso Request.QueryString("fileticket") Is Nothing Then
'Target Url
Dim redirectUrl As String = _portalSettings.ActiveTab.FullUrl
If _portalSettings.ActiveTab.PermanentRedirect Then
'Permanently Redirect
Response.StatusCode = 301
Response.AppendHeader("Location", redirectUrl)
Else
'Normal Redirect
Response.Redirect(redirectUrl, True)
End If
End If
I do not want to redirect to my first active tab's url entry, but I want to go to "KeepAlive.aspx". This behaviour implies that if I have a main menu item, of which the onclick redirects to another submenu item, all my directs calls to any aspx page will automatically redirect to my submenu tab.
Any suggestions?