Start New Discussion within our Web Development Community

Is it best (or even possible) to replace spaces using URL Rewrite or using ASP/ before the URL is sent? If it's the former, can it be done with a wizard within IIS? Also, I will need to replace capital letters and accented characters with an equivalent e.g. é with e, is this best done with URL Rewrite?

I've tried some of the tutorials on the official IIS website and have got through a simple rewrite wizard, but replacing characters seems more complicated, and I'm sure some of the tutorials have errors in them...

Thanks for any help. :)

I can't remember the specific namespace, but .NET has a built in URLEncode, and URLDecode functions that take a string and make it compliant with standard URLs

Thanks, though I don't think that's what I need as it changes spaces to pluses and non-standard characters to a % and hexadecimal value.

The URL I want will be something like this: instead of

This article has been dead for over six months. Start a new discussion instead.