Questions tagged [urlrewriting.net]

UrlRewritingNet.UrlRewrite is an Open Source Component for easy and reliable rewriting URLs with ASP.NET

UrlRewritingNet.UrlRewrite is an Open Source Component for easy and reliable rewriting URLs with ASP.NET

Based on "ASP.NET HTTP module for URL redirections" of Fabrice Marguerie it has been improved and enhanced by Thomas Bandt and Albert Weinert.

System Requirements

The component was designed and developed in 2006 for running with ASP.NET 2.0, but it works with ASP.NET 3.5 as well. The only requirement is a webserver running ASP.NET, for example Internet Information Services (IIS, Version 5.0 - 7.0).

Website

The homepage for the project can be found here : https://github.com/aspnetde/UrlRewritingNet

27 questions
14
votes
6 answers

URL Rewrite from /default.aspx to /

I'm using the URL Rewriting.NET tool with IIS 6. I've got my default page content set for default.aspx in IIS. What I'm trying to do is have /default.aspx provide a 301 redirect to the root directory (www.example.com/default.aspx ->…
CodeMonkey1313
  • 15,717
  • 17
  • 76
  • 109
4
votes
4 answers

Which one is better ? URLReWriter.net or URLReWriting.NET

I don't know whether you've been come across urlrewriter.net because as I've seen so far urlrewriting.net is kinda more popular. Could someone please tell me which one is actually easier to implement and more powerful? Thanks...
Tarik
  • 79,711
  • 83
  • 236
  • 349
3
votes
2 answers

asp.net URL Rewriting error

Could not load file or assembly 'UrlRewritingNet.UrlRewriter' or one of its dependencies. The system cannot find the file specified. we installed the url rewriting tried it on a website tried it on a virtual directory same error :/ any…
user3344112
  • 31
  • 1
  • 3
3
votes
3 answers

urlrewritING.net query character in virtual url causing redirect loop

I've got a project where we're re-building a site for a client, the new site is using umbraco on the .net platform. the old site was cold fusion. Umbraco utilises the urlrewriting.net library so I created all the 301 recirect rules for the old cold…
Myster
  • 17,704
  • 13
  • 64
  • 93
3
votes
1 answer

UrlRewriteModule.net and session problem

i have a problem in asp.net web-application. I'm using UrlRewritingNet.UrlRewrite and it's works fine only when there is no uses of session on page. for example: simple page Default.aspx with code: <% Session["some_value"] = "test"; %> If i access…
x2.
  • 9,554
  • 6
  • 41
  • 62
2
votes
0 answers

Adding random query string parameter to URL on IIS

I am hosting our website on IIS 8.5 on windows 2012 server. The application is a nodejs based application. It has index.html as the entry point. What I want is: Whenever index.html is requested, I want to append a random string to this page. The…
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
2
votes
2 answers

How to redirect images requests to another folder using urlrewriting.net

I'm using urlrewriting.net to redirect a cascading stylesheet image request. I've been trying without luck to do so. Here's the rewrite I added:
Raúl Roa
  • 12,061
  • 13
  • 49
  • 64
1
vote
2 answers

urlrewriting.net map all classic asp requests to default.aspx

I'm using urlrewriting.net and want to add a rule to map all classic asp requests to default.aspx. Unfortunately my attempt below just results in a redirect loop, so I must be doing something wrong.
Ben Foster
  • 34,340
  • 40
  • 176
  • 285
1
vote
1 answer

Using URL Redirection based on domain name using UrlRewritingNet.UrlRewriter

I want to redirect a request in an asp.net web site based on the domain, my scenario is like this. I have the app setup so that it will process the requests from multiple domains like from www.abc.com and www.xyz.com, now i want that when ever a…
asifch
  • 312
  • 4
  • 15
1
vote
1 answer

Urlrewritingnet 301 redirect strange behavior

I migrated a site form a php system to Umbraco. I would like to redirect all the old urls (es: index.php? ...) to the current site root, so I wrote a rule:
Ras
  • 628
  • 1
  • 11
  • 29
1
vote
1 answer

Umbraco and UrlRewriting.Net force www for canonical URLs

I have been struggling to get Umbraco (7.1.4) to prefix URLs without www with www. I can't quite grasp the syntax of UrlRewriting.Net. My current solution is:
thilemann
  • 397
  • 4
  • 16
1
vote
2 answers
0
votes
1 answer

Yet another regex - how to identify a querystring

I am using urlrewriting.net for my urlrewriting. I need some help on the regex (which I still don't get....). I would like to match www.mysite.com/restaurant -> match and return "restaurant" www.mysite.com/restaurant?page=1 -> match and return…
ThomasD
  • 2,464
  • 6
  • 40
  • 56
0
votes
1 answer

urlrewriting.net and exact match

I am using urlrewriting.net to rewrite my URLs. One of my rules captures "/restaurant", but it seems it is a "contains"-rule in the sense that it will also capture eg. "/restaurant-italia" but I would like it to only capture the exact match…
ThomasD
  • 2,464
  • 6
  • 40
  • 56
0
votes
1 answer

Postback not firing using URLRewriting.Net in ASP.NET

Well, I'm not sure what the problem is exactly but my postback is not firing properly. I am using URLRewriting.Net and have it configured in an extension-less manner. So, the page I am working on is http://xxx.xxx/products and it rewrites to…
shamazing
  • 730
  • 4
  • 9
1
2