Error when using the <urlMappings> element

  • Thread starter Thread starter Nathan Sokalski
  • Start date Start date
N

Nathan Sokalski

I am using the <urlMappings> element in my Web.config file as follows:

<urlMappings enabled="true">
<add url="~/worldnews.aspx"
mappedUrl="~/viewlinks.aspx?category=World+News&section=Main"/>
</urlMappings>

Visual Studio 2005 has

&section

selected, and when I hover over this, it says:

Expecting ';'.

What do I need to change to correct the syntax without changing the URL that
will be mapped to? Thanks.
 
Back
Top