1
vote
3answers
190 views

Rewriting URL to get Wordpress “permalink” type URL

I have created an ASP.NET site to replace a WordPress site that creates permalinks in the format: http://example.com/the-name-of-my-post I would like these URLs redirected to: ...
2
votes
1answer
772 views

How do you hide file extension in URL?

I would like to drop the .aspx extension from my webpages. One reason is that I'm not sure I will stick to ASP.NET WebForms technology. How do you do it?
4
votes
7answers
3k views

How do you remove invalid characters when creating a friendly url (ie how do you create a slug)?

Say I have this webpage: http://ww.xyz.com/Product.aspx?CategoryId=1 If the name of CategoryId=1 is "Dogs" I would like to convert the URL into something like this: http://ww.xyz.com/Products/Dogs ...