Hi,
I have written a code for URL Rewriting
string fullOrigionalpath = Request.Url.ToString();
if (fullOrigionalpath.Contains("/Products/"))
{
Context.RewritePath("~/Prd.aspx?Cat_Name=" + Request.PathInfo.Substring(0));
}
Now if I type http://abc.com/Products/Hot-Offers it doesnt work as the Request.PathInfo.SubString(0) gives Products not Hot-Offers how do I get Hot-Offers from this URL?
Thanks,
Go to the complete details ...