I have website in asp.net web forms. It uses url friendly structure. suppose I have url www.site.com/experience/experience-category. Here there are two different pages experience & experience-category. Now whenever I try to access this url www.site.com/experience/experience-category it doeson't shows me this page. It showing me www.site.com/experience page. How this can be resolved?
RouteConfig
Public Module RouteConfig
Public Sub RegisterRoutes(routes As RouteCollection)
Dim settings = New FriendlyUrlSettings()
settings.AutoRedirectMode = RedirectMode.Permanent
routes.EnableFriendlyUrls(settings)
routes.MapPageRoute("experience-category", "experience/{name}", "~/experience-category.aspx") 'For Experience Category
End Sub
End Module