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
0
votes
2 answers

mod_rewrite to redirect url not working

Cannot seem to get a mod_rewrite to work. We have a domain name that has already been printed here, there and everywhere when the website was Flash. It has a # in its trail /#login.php and we want so that when people put this in it redirects them to…
trapper
  • 11,716
  • 7
  • 38
  • 82
0
votes
2 answers

URL Rewrite Deploy to Production Server

I've finished url dynamic rewrite module on my local computer, iis, everything is working but I have to deploy it to the production server now, which will cause errors. Do you have any idea how to avoid them? If you have done similar thing…
levi
  • 3,451
  • 6
  • 50
  • 86
0
votes
1 answer

How to rewrite URL when the file is not found with IIS URL Rewrite Module

I need to run a PHP application on IIS and I am trying to port the htaccess rules that look like this: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule…
Stilgar
  • 22,354
  • 14
  • 64
  • 101
0
votes
1 answer

Azure Web Role and outbound url rewriting causes a 500 error

I am currently migrating a (working) website to the Windows Azure cloud but am having issues with the UrlRewrite module. The problem is the outbound rules cause an Internal Server Error - the site loads correctly if I disable the rules. I have…
Tom Broad
  • 82
  • 1
  • 11
0
votes
1 answer

IIS UrlRewrite - Only works one actual file exists

I have the following url rewrite code in my web.config I want to forward anything .htm to the brand.aspx. so if anyone type in test1.htm test2.htm test3.htm would go to the brand.aspx. However, the following url rewrite would work if there is an…
Julia
  • 1,207
  • 4
  • 29
  • 47
0
votes
1 answer

IIS 7 URL Rewrite QueryString

I have old links like this /folder/page/(dynamic q) I want to redirect to a new links /newfolder/newpage?q=(dynamic q) how can I do this
moeezed
  • 65
  • 5
0
votes
1 answer

Using URL Rewrite 2.0 in IIS7 and cleaning POSTs

I'm having some issues with setting up rules in URL Rewrite 2.0 using IIS 7. I'm working on a website that is a combination of more modern .NET 4.0 stuff all the way back to classic .ASP stuff. My current task is to try and strip some specific…
Drew McGhie
  • 1,086
  • 1
  • 12
  • 26
0
votes
1 answer

rewrite all the pages to page name only in my web site

I have created a php web site. Here I have implemented the clean URL in .htaccess file. I need to display mu link mydomain/index.php to mydomain/index So I have used RewriteRule index index.php But I have lot of files. So how will I write a…
user1263260
  • 243
  • 3
  • 6
  • 17
0
votes
1 answer

How to rewrite a querystring with URL Rewrite

Please I am just starting off with using iis rewrite module and I have a task to rewrite a url with querystring. What I have to do is rewrite this url…
user989865
  • 627
  • 3
  • 9
  • 25
0
votes
1 answer

IIS URL Rewrite 301 Redirect for urls with parameters doesn't work

I have following rule for 301 redirects:
Alex
  • 389
  • 1
  • 3
  • 8
-1
votes
1 answer

I Cannot get rewriterule to work

I'm using VertrigoServ 2.27 on my laptop (localhost:8080). Rewrite module is enabled and i tested it with alice.html and bob.html example (http://stackoverflow.com/questions/6944521/url-rewriting-on-localhost) and it works with .htacces inside…
-1
votes
1 answer

How to always redirect into SSL https without using http

I would like to improve the method ,instead of working to use HTTP Our method is : ServerName example.com RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com RewriteRule ^(.*)$…
-1
votes
1 answer

How can I redirect with Url rewrite e.g. from https://www.contoso.com to another server?

How can I redirect with url rewrite e.g. from https://www.contoso.com to another server e.g. to https://www.testpage.com
tm3241
  • 11
  • 2
-1
votes
1 answer

How can I configure url rewrite to redirect from splash.aspx?page=3 to splash3.aspx?

I have already created a topic about query strings, unfortunately the question was closed and no one answers anymore. For example, I want to redirect from splash.aspx?page=3 to a simpler url e.g. to splash3.aspx. I unfortunately have no backend code…
tm3241
  • 11
  • 2
-1
votes
1 answer

IIS10 UrlRewrite, multiple canonical TLD's & non-canonical sub-domains + HTTPS

I'm having some trouble with URL rewrite. I have a website that hosts multiple child sites all within the same Site in IIS10. The primary site has 3 TLD's that should redirect to a primary canonical TLD. On the same site there are multiple…
UserSN
  • 953
  • 1
  • 11
  • 33
1 2 3
51
52