how to create static pages

  • Thread starter Thread starter Blue Man
  • Start date Start date
You can use custom ISAPI Filter, or rewriting functionality of ASP.NET with
RewritePath and global.asax....

For you example it will be something like that

Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)

If Request.Url.Segments(Request.Url.Segments.Length -
2).ToLower.Equals("archive/") _
And page.equals("mytitle.aspx") Then
Context.RewritePath("index.aspx?postid=13")
End If

End Sub
 
Back
Top