Redirect multiple urls to single URL

100denari

New Member
i'm doing some work on a legacy asp.net and umbraco site. It's using UrlRewritingNet to set up rules for url manipulation.I'd like to create a rule in the UrlRewritingNet file to redirect multiple urls to a single URL. This is for SEO purposes to reference a page to prevent dilution of page relevance.Hence i'd like http://www.test.com/index.aspx and http://www.test.com/index to redirect to http://www.test.com.I've tried this, but it doesn't seem to work. \[code\]<add name="Rule1" ignoreCase="true" rewriteUrlParameter="ExcludeFromClientQueryString" redirectMode="Permanent" redirect="Application" virtualUrl="~/index(.*)" destinationUrl="^~/$"/>\[/code\]Can you please help.
 
Back
Top