URL rewrite rules in web.config to to remove speci...
# help-with-other
t
I am looking for a way to write url rewrite rules to remove the following characters: ( ) , And the string .aspx My old old old umbraco site would take nodes named "(some word), (some other word)" And actually generate the url: Mywebsite.com/(some-word),(some-other-word).aspx The new version of this website is way more modern and obviously knows to remove this crap. I want to use url rewrite rules to do 301 redirects from the old urls to the new format to maintain SEO value. I know how to do web.config transforms to actually get these rules in place, I just cannot for the life of me figure how how to write the rules in a way that doesn't result in a ton of redirects before achieving the final result. The end goal is that a request to mywebsite.com/(foo),(bar)/(foo),(bar) etc etc for any number of path levels deep Results in the url being rewritten with all the parentheses, commas, and .aspx extension removed.
5 Views