Questions tagged [url-rewrite-module]

Microsoft's URL Rewrite Module is a module for IIS 7 that lets website owners create custom rewrite rules for their site.

Microsoft's URL Rewrite Module is a module for IIS 7 that lets website owners create custom rewrite rules for their site.

More information:

780 questions
2
votes
1 answer

IIS URL Rewrite to redirect all requests for a domain

I have a web server that hosts multiple domains running IIS 8.5. One of those domains is going away and needs to be redirected to the root of another domain on the server. I created the rule below and it works fine as long as there is not path. …
DubStep
  • 151
  • 10
2
votes
1 answer

IIS URL Rewrite and .NET Core

My goal is to utilize IIS URL Rewrite to simplify my URL paths visible to the user, but without breaking my Core asp-page references Example:. If my IIS rewrites sentoso.com/apple to sentoso.com/applications/app1/fruits/apple, how do I find the…
Sean
  • 2,531
  • 2
  • 17
  • 17
2
votes
1 answer

URL Rewriter Powershell DSC

I'm trying to get the URL Rewriter installed using Powershell DSC and it keeps failing. When I remove the step for installing rewriter, the script succeeds. My setup is using Visual Studio Team Services (VSTS) build and release pipeline I execute…
MPavlak
  • 2,133
  • 1
  • 23
  • 38
2
votes
0 answers

URL Rewrite Rule to ByPass IP

I have URL Rewrite rule in IIS 10 to enforce all http request to https this way and it works perfect.
Arslan Pervaiz
  • 1,575
  • 4
  • 29
  • 62
2
votes
1 answer

IIS Rewrite rules with random probability of 50/50?

I want to create two IIS rewrite rules, such that rule A will run on 50% of the requests, and B on the other 50%. There is no builtin random property in the IIS rewrite module AFAIK. I want to achieve it without developing my own rewrite module…
iTayb
  • 12,373
  • 24
  • 81
  • 135
2
votes
2 answers

web.config redirection ignored on a shared hosting

I have a webpage hosted on a shared Microsoft-IIS/8.5 server. I don't have the admin privileges on that server, and I don't have access to its configuration files, so I can't really make sure that the URL rewrite module or the HTTP redirect element…
Clément
  • 2,358
  • 28
  • 32
2
votes
0 answers

IIS windows rewrite rules, frontend and backend separately

I am using windows IIS server and i have two interfaces in a project, which is in PHP and it has two interfaces front-end and back-end. 1st URL is localhost/controller/index.php/action 2nd URL is localhost/controller/admin/index.php/action Both…
Tausif Anwar
  • 1,237
  • 1
  • 10
  • 21
2
votes
1 answer

URL rewrite web.config with location https

I want to redirect my extranet site to https I have the following web.config rule:
2
votes
1 answer

IIS Rewrite - Creating SEO Friendly URL

Using IIS v8 and trying to create some SEO Friendly URL's Current URL is as follows: http://www.domain.com/equipment/flexible/technical.cfm?id=2&title=applications Trying to create: http://www.domain.com/equipment/flexible/2/applications I have…
Shafiq
  • 105
  • 9
2
votes
2 answers

500 (URL Rewrite Module Error.) with file that exists

This is the rewrite rule:
Shaun Luttin
  • 133,272
  • 81
  • 405
  • 467
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
1 answer

IIS Url redirect match pattern

I am redirecting URL in the config file. This is what I am doing:
Owais Ahmed
  • 1,364
  • 1
  • 30
  • 62
2
votes
1 answer

Add HTTPS redirect to existing rule to rewrite subdomain to a folder

I've been using the following pattern to set up directory structure for my main site and subdomains: A. Each site is in its own subfolder, including the main site so that I have something like \wwwroot \main \subdomain1 B. There's only 1…
Steve Wash
  • 986
  • 4
  • 23
  • 50
2
votes
1 answer

IIS URL Redirect change querystring parameter name

I am trying to redirect from one site to another like the following. http://example.com/quickscan/?code=123456 To https://example2.com/as-quickscan/login?username=123456 The domains are different. Also the redirect URL parameter and URL…
rrk
  • 15,677
  • 4
  • 29
  • 45
2
votes
3 answers

Unable To Add keywords to URL using URL Rewriting

I am updating my question according to suggestion below My .htaccess file code for rewrite - RewriteEngine On RewriteRule ^SearchResult/(.*)$ SearchResult.php?category_slug=$1 [QSA,L] But above .htaccess rule…
user5493185