TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Michael
1.5k
238
19k
Url friendly with parameters help.
Oct 9 2014 4:55 AM
Hello Everyone,
I have a .net c# web forms project, and I am trying to use RegisterRoutes in order to modify ordinary urls (product.aspx) to seo friendly url (product/).
However in an ordinary situation i can redirect to "product.aspx" page either as it is, either adding a parameter like "product.aspx?id=3". I tried to do the same with RegisterRoutes and I set the "product.aspx" page to "product/{id}".
If I redirect to page with parameter it works fine. On the other hand if I redirect to the page without parameter like "product/" then website crashed with error HTTP 404 - website not found.
Your advice will be appreciated.
Thank you in advance.
Reply
Answers (
0
)
can anyone help for program calls a method
RegEx to find and replace a word