Quantcast
Channel: URL Rewrite Module
Browsing all 2482 articles
Browse latest View live

Basic old host name to new host name

I'm new with IIS re-write module.  I'm trying to create a rule that re-writes or redirects the URL ab.domain.com towww.domain.comSo a specific 2 letter URL to www.domain.comCan someone help me get...

View Article


Redirecting using permanent 301 redirect

I have 2 questions regarding URL Rewrite.(1) I'm trying to redirect a webpage using the permanent 301 redirect. I've installed URL Rewrite and redirecting from sayhttp://www.test.com/index.htm to...

View Article


Can I use URL Rewrite based on a value earlier in the pipeline?

I have a custom HttpModule which retrieves a parameter I wish to use to rewrite the requests. I've attempted to set the HTTP header directly with the context and using the header to get the value to...

View Article

Page Domain to New Page & Domain

Hi Guys,I need some help to see if I am making my wildcard redirects correct for an IIS web Server site.I'm trying to re-direct an example below & 100's similar which use...

View Article

Force Excel Downloads In IIS 8.5 With Rewrites

I'm currently trying to force file downloads in for .XLSX files in IIS 8.5, and I tried a configuration I found on Stack Overflow for an older version of IIS. But when I try to edit the rule in the URL...

View Article


Rules not working

It looks a fairly simple rule but can't make it working. The idea is redirecting traffic coming to an old web page to a new one passing along the Id.<rule name="FromOldToNew"...

View Article

Prooblem with appending trailing slash

I need to appending trailing slash to all my pages so thiswww.miosito.it/it/index.asp   ->  www.miosito.it/it/index/ So I realize those rules but when I test appear error 404. What's the problem...

View Article

URL Redirect with CNAME

I have a CNAME (operations) and would like to redirect to http://operations/operations.htmlI don't want to affect other CNAME (intranet)I believe I need a condition but can't seem to figure it out.

View Article


How to ignore the page extension if need be

I'd like to be able to create links like the following, that do not need an extension (.aspx, .php), but still keep all the .css, jpg, png,...

View Article


multiple conditional variables with back references possible

Hello I'm trying to set up a rule that sends any request towww.mydomain.com/rd.asp?id=1234 orwww.mydomain2.com/rd.asp?id=1234 to goto.mydomain.com/redirects/1234 and goto.mydomain2.com/redirects/1234...

View Article

URL Rewrite Server Variables

We are having some issues with the URL Rewrite module, following moving to Windows Server 2012 R2, IIS 8.5 and URL Rewrite 2.0.  We have a routine that utilizes the server variables HTTP_HOST when in...

View Article

IIS 8.5 to add query string to incmoming request

I am working on windows 2012 server and using IIS 8.5. I am hosting a reactjs application on IIS. The site contains some JavaScript files, CSS files, images & HTML pages. I want to ensure that...

View Article

How to create URL Rewrite Exception with HTTP to HTTPS

Hello guys,I need to create an URL Rewriter rule that have exceptions for my subfolder. For example:I have the portal http://myportal.com and I have an subfolder name "images".I have an URL Rewriter...

View Article


URL Rewrite throws 403

I am trying to use url rewrite to rewrite few of my serivce requests.Basically, If I get a request like abc/workflow/UserService.svc/Users/administrator?authSource=domaincontroller, I need to rewrite...

View Article

Wordpress querystring in root with question mark needs to redirect 404

After a Wordpress site was hacked a google sitemap was uploaded and thousends of urls injected in google search.Site is now clean but the injected URL needs to return 404 to get removed from googles...

View Article


http to https is not redirecting

Hi,I need to redirect all http requests to my domain to https.Here is the content of web.config file:<rewrite><rules><rule name="http to https" stopProcessing="true"><match...

View Article

URL Rewrite

I am having difficulty enabling CORS for multiple domains using URL rewrite. The difficulty seems to be capturing HTTP_ORIGIN of the request. I have attempted two methods that others have used, and...

View Article


IIS is throwing an error for some URLs

Below are 2 samples to reproduce this error.ASP Page $master.aspThe <rewrite> section from the web.config fileThe theory is that all requests except the usual files like .jpg & .gif etc are...

View Article

CNAME and slash (subdirectory)

On my site users can create own pages like:sitename.com/user1sitename.com/user2If they want their own domain like: user1.com (shows site sitename.com/user1)CNAME don´t let me use "/".Can i create...

View Article

Can I pattern match against CONTENT string for URL Rewrite?

I have a URL transmission that I want to rewrite and route to another URL based on a string that is contained in the CONTENT of the request.  I see that a pattern match can be written against...

View Article
Browsing all 2482 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>