1
Answer

URL-Rewriting(with out extension just want to display variable name)

Photo of nidhi singhal

nidhi singhal

15y
3.1k
1

Plz help me out in URL rewriting(Actually i have seen many sites and many solutions but that doesnt match with my requirements.
Actaully my requirement is
If i am on the www.somevent.com/Associations.aspx
and there are so many Associtaions i have with name and image If i click one of them image or link name then it should go to www.someevnt.com/AssociationName only
AssociationName is variable accordingly to the link
Actually i am using some approach but it didnt make any help to me still there is something which i have applied for that::------

I just added the following to web.config file and dll for that and there is u will see a regular expression which i have many permutaions and combinations to get that output but resource cant not be displayed problem occurs.
 <modulesSection>
    <rewriteModule>
      <rewriteOn>true</rewriteOn>
      <rewriteRules>
        <rule source="(^[A-Z][a-z](?!.aspx))"  destination="AssociationDetail.aspx?name=$1"/>
        </rewriteRules>
    </rewriteModule>
  </modulesSection>

Answers (1)

0
Photo of kawaljit  singh
NA 19 0 15y
hi nidhi,
I am also looking for this topic.
i hv jst checked these link, pls tell me if u find these links helpful....
here are the links:
http://support.microsoft.com/kb/976111
http://www.urlrewriting.net/149/en/home.html
(please check if you like my answer)
kawal