urlrewriter.net

Url rewriting issue

I m using url rewriting in my asp.net application refer to : http://stackoverflow.com/questions/2980402/url-rewritting-affects-other-links the Links are working fine but all links for images dynamic menus are broke. Any suggestion will be appreciable. ...

RegularExpression for URL Rewriting

I am using urlrewriter.net and I am trying to make a redirection. So here is the condition, If the requested url doesn't end with a / (slash) and then add / at the end of the url and redirect to added url. So if the url is "http://www.something.com/cases" then add / and redirect it to "http://www.something.com/cases/" I've use...

UrlRewriter.net exception - anyone ever seen this?

This showed up in our error log over the weekend. Has anyone ever seen this? System.ArgumentException: Item has already been added. Key in dictionary: 'RewritingXtoY' Key being added: 'RewritingXtoY' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at Intelligencia.UrlRewriter.Utilities.MessageProv...

Umbraco rewrite rule for non-www domains

I'm trying to redirect any non-www prefixed traffic to the www prefixed domain. I'm using Umbraco as the CMS and have added the following code into the urlrewritingnet config file: <add name="nonWWW" virtualUrl="^(?!www\.)(.*)$" rewriteUrlParameter="ExcludeFromClientQueryString" destina...

Newbie Intelligencia.UrlRewriter expression question. (ASP.NET)

Hey guys! I need help with something that should be relatively simple. Got the component installed in my project fine and added all of the necessary config entries. I need to rewrite URLs following two rules (for canonilization/SEO purposes): 1 - all URLs that don't have "www" need to be rewritten to include it. Example: user ty...

ASP.NET UrlRewriter - How to Write RegEx for Root?

Hi All, I have been trying to use UrlRewriter (Intelligencia.UrlRewriter.dll) in a test project. My rewrite statement is as in the following: <rewrite url="~/Sample/(.+)" to="~/Sample.aspx?Test=$1"/> This statement works great for a URL like: http://localhost:4188/RewriteTest/Sample/12345 or, let's say: http://RewriteTest.com/Sa...