1

i am trying to use urlrewriter.net and i followed instructions here but when i run it i get this error:

The element 'rewrtie' is not allowed.

here is what i added in my web.config file:

<httpModules>
    <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter"/>
</httpModules>

<modules runAllManagedModulesForAllRequests="true">
    <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule" />
</modules>

  <configSections>
  <section name="rewriter"
            requirePermission="false"
            type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />

<rewriter>
    <rewrtie url="~/User/Ahmed/ahmed.aspx" to="~/User/ahmed" />
</rewriter> 

using asp.net 3.5 what is the problem , thanks

Wahtever
  • 3,597
  • 10
  • 44
  • 79

1 Answers1

2

How many times have you read the message, and not noticed (much as with your username) that two of the letters are the wrong way around?

<rewrite url="~/User/Ahmed/ahmed.aspx" to="~/User/ahmed" />
Damien_The_Unbeliever
  • 234,701
  • 27
  • 340
  • 448