Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
URL-Rewriting(with out extension just want to display variable name)
nidhi singhal
14 years ago
3.1k
Reply
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>
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
URL Rewriting without extensions in asp.net 2.0
Asp.Net Class