Devendra  Kumar

Devendra Kumar

  • 1.6k
  • 517
  • 206.4k

how to remove rewrite url from web.config and page

Feb 11 2016 11:44 PM
plzz any body help how to remove rewrite url from web.config and another page my code is this
 
 
 
 in web.config page
 
<rewriter> 
<rewrite url="~/Category-(.+)$" to="~/Category.aspx?name=$1"></rewrite>
</rewriter> 
 
and this link use another page like..
 
 
<a href='<%=ResolveUrl("~/")%>Category-<%# Eval("SeoCategory_Name")%>' title="<%#Eval("name") %>">
<asp:Label ID="lbl_categoryName" runat="server" Text='<%#Eval("name")%>'></asp:Label>
</a>
 i want to remove Category- tag 
 
 
when remove Category- tag then page url not found
 
please solve my problems 

Answers (3)