Questions tagged [urlrewriter.net]

The open source URL rewriter for ASP.NET from urlrewriter.net

67 questions
0
votes
1 answer

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

I have been trying to use UrlRewriter (Intelligencia.UrlRewriter.dll) in a test project. My rewrite statement is as in the following: This statement works great for a URL…
ncakmak
  • 4,014
  • 5
  • 20
  • 17
0
votes
1 answer

Intelligencia.UrlRewriter check domain to redirect to https

I'm having a problem trying to force https on my website while excluding locahost I'm currently using Intelligencia.UrlRewriter to rewrite any urls and I have the following rule set up:
Riaan van Zyl
  • 538
  • 8
  • 17
0
votes
1 answer

Matching part of url and redirect

I have a regular expression in my web.config file that I'm using to redirect users to some other domain: This successfully matches following…
Marek M.
  • 3,799
  • 9
  • 43
  • 93
0
votes
1 answer

Loading part of web.config from other file

Rewriter section is defined as follows:
Then the element looks like…
Marek M.
  • 3,799
  • 9
  • 43
  • 93
0
votes
1 answer

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:
Ian Houghton
  • 249
  • 3
  • 19
0
votes
1 answer

urlrewriter 404 error on iis7 use asp.net and netFramework4.0

i dont know why i could show it right on visual studio and i could show it right on iis 7 server and most of my page are ok (like this ://localhost:8080/Im-Younger-Than-You-p22/) only the type of the page…
Andrew
  • 1
  • 1
0
votes
1 answer

Why URLRewriter.NET doesn't get querystring values?

I just started using URLRewriter.net with my blog and I have a problem with getting the query string values. I have a rule setting like: But when I try to…
HasanG
  • 12,734
  • 29
  • 100
  • 154
0
votes
3 answers

URL ReWriter for .NET

I am using this, but I have some hard to solve problems. This is part of my code: When I type links…
Ivelin
  • 45
  • 1
  • 5
0
votes
1 answer

ASP.NET 4.5 Web Forms Custom 404 Page Best Practice

Well, for about one week, I have been searching the web, trying my own solutions and testing the results. But unfortunately I did not end up to the satisfying result that is needed. Problem Details: Using IIS 7.5 The problem is that; either using…
0
votes
1 answer

urlrewriter.net page not executed

I'm having some problems with the module urlrewriter.net for ASP.NET. I have a multilingual site with a URL like this; ~/home.aspx To support languages I use this rewrite rule; Then in my code I get…
peter
  • 1
0
votes
1 answer

how to convert Apache mod_rewrite rules to Microsoft URL Rewriter IIS7?

can someone tell me how to convert apache iis7 mod_rewrite .htaccess file to the equivalent web.config in MS Url Rewriter? Here is the .htaccess file I have: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d …
ricky
  • 1
  • 5
0
votes
3 answers

Need help with this Regex + UrlRewriter.NET please :)

Previously, on StackOverflow ... (Summarized) I need to capture all requests, for a particluar subdomain .. and rewrite their destination. Now, the trick to determining the host via regex was solved. Now, i need to make sure all requests to the…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
0
votes
1 answer

UrlRewriter.net Expression Examples

I need some web.config examples for each expression types below : $number The last substring matched by group number number. $ The last substring matched by group named name matched by (?< name > ). ${property} The value of the property when…
Tarik
  • 79,711
  • 83
  • 236
  • 349
0
votes
1 answer

Url rewrite on two login page

I am having some problem when I try to rewrite my login page url. This is how. I got two Login page, FirstLoginPage.aspx and SecondLoginPage.aspx, I wish to rewrite to page to /FirstAuthen and /SecondAuthen. Whenever the user wanted to go to the…
HengChin
  • 583
  • 5
  • 16
0
votes
4 answers

RegEx to redirect certain URL path

I am trying to create a rule that redirects /parent/special/{anything} to /parent/{anything}. In other words to remove the "special" from the URL if it is there after "parent". This is for a .NET application, more specifically for…
TruMan1
  • 33,665
  • 59
  • 184
  • 335