{"id":1194,"date":"2014-07-26T14:45:43","date_gmt":"2014-07-26T21:45:43","guid":{"rendered":"http:\/\/hellbach.us\/blog\/?p=1194"},"modified":"2022-11-24T00:03:51","modified_gmt":"2022-11-24T08:03:51","slug":"redirect-rewriter-net","status":"publish","type":"post","link":"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/","title":{"rendered":"Redirect, Rewriter in .NET"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:3724,&quot;href&quot;:&quot;http:\\\/\\\/www.dotnetperls.com\\\/ashx&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250703215028\\\/https:\\\/\\\/www.dotnetperls.com\\\/ashx&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 08:04:06&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-23 07:10:55&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-23 07:10:55&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:3725,&quot;href&quot;:&quot;http:\\\/\\\/www.dotnetperls.com\\\/urlmappings&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20220524091751\\\/https:\\\/\\\/www.dotnetperls.com\\\/urlmappings&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 08:04:09&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-04-23 07:10:53&quot;,&quot;http_code&quot;:404}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-23 07:10:53&quot;,&quot;http_code&quot;:404},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:3726,&quot;href&quot;:&quot;http:\\\/\\\/www.peterviola.com\\\/using-application_beginrequest-for-a-301-redirect&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250709030804\\\/https:\\\/\\\/www.peterviola.com\\\/using-application_beginrequest-for-a-301-redirect\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 08:04:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-23 07:10:55&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-23 07:10:55&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:3727,&quot;href&quot;:&quot;http:\\\/\\\/www.stokia.com\\\/support\\\/misc\\\/web-config-response-redirect.aspx&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20161126131422\\\/http:\\\/\\\/www.stokia.com:80\\\/support\\\/misc\\\/web-config-response-redirect.aspx&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 08:04:14&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-23 07:10:53&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-23 07:10:53&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<ul>\n<li>\n<div><a href=\"http:\/\/www.dotnetperls.com\/ashx\" target=\"_blank\" rel=\"nofollow noopener\">ASP.NET ASHX Handler<\/a><\/div>\n<\/li>\n<li><a href=\"http:\/\/www.dotnetperls.com\/urlmappings\" target=\"_blank\" rel=\"nofollow noopener\">ASP.NET urlMappings<\/a><\/li>\n<li><a href=\"https:\/\/web.archive.org\/web\/20180815032502\/http:\/\/blog.dotnettechy.com:80\/2011\/09\/url-rewriting-in-aspnet-using.html\" target=\"_blank\" rel=\"nofollow noopener\">URL Rewriting in ASP.NET using global.asax and web.config<\/a><\/li>\n<li><a title=\"Using Application_BeginRequest for a 301 Redirect\" href=\"http:\/\/www.peterviola.com\/using-application_beginrequest-for-a-301-redirect\/\" target=\"_blank\" rel=\"nofollow noopener\">Using Application_BeginRequest for a 301 Redirect<\/a><\/li>\n<li><a href=\"http:\/\/www.stokia.com\/support\/misc\/web-config-response-redirect.aspx\" target=\"_blank\" rel=\"nofollow noopener\">Using web.config &#8211; Redirecting browsers with 301, 302, and 307 status codes on IIS 7 and IIS 7.5 <\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>ASP.NET ASHX Handler ASP.NET urlMappings URL Rewriting in ASP.NET using global.asax and web.config Using Application_BeginRequest for a 301 Redirect Using web.config &#8211; Redirecting browsers with 301, 302, and 307 status codes on IIS 7 and IIS 7.5<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-1194","post","type-post","status-publish","format-standard","hentry","category-dev"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Redirect, Rewriter in .NET - Hellbach blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Redirect, Rewriter in .NET - Hellbach blog\" \/>\n<meta property=\"og:description\" content=\"ASP.NET ASHX Handler ASP.NET urlMappings URL Rewriting in ASP.NET using global.asax and web.config Using Application_BeginRequest for a 301 Redirect Using web.config &#8211; Redirecting browsers with 301, 302, and 307 status codes on IIS 7 and IIS 7.5\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/\" \/>\n<meta property=\"og:site_name\" content=\"Hellbach blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-07-26T21:45:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-24T08:03:51+00:00\" \/>\n<meta name=\"author\" content=\"alex\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"alex\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/\"},\"author\":{\"name\":\"alex\",\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507\"},\"headline\":\"Redirect, Rewriter in .NET\",\"datePublished\":\"2014-07-26T21:45:43+00:00\",\"dateModified\":\"2022-11-24T08:03:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/\"},\"wordCount\":42,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507\"},\"articleSection\":[\"Dev\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/\",\"url\":\"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/\",\"name\":\"Redirect, Rewriter in .NET - Hellbach blog\",\"isPartOf\":{\"@id\":\"https:\/\/hellbach.us\/blog\/#website\"},\"datePublished\":\"2014-07-26T21:45:43+00:00\",\"dateModified\":\"2022-11-24T08:03:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hellbach.us\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Redirect, Rewriter in .NET\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hellbach.us\/blog\/#website\",\"url\":\"https:\/\/hellbach.us\/blog\/\",\"name\":\"Hellbach blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hellbach.us\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507\",\"name\":\"alex\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9868a7f8fd709cd74cf51d978359a3ce66a47a17cd57185a9e1a4774d288e228?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9868a7f8fd709cd74cf51d978359a3ce66a47a17cd57185a9e1a4774d288e228?s=96&d=mm&r=g\",\"caption\":\"alex\"},\"logo\":{\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Redirect, Rewriter in .NET - Hellbach blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/","og_locale":"en_US","og_type":"article","og_title":"Redirect, Rewriter in .NET - Hellbach blog","og_description":"ASP.NET ASHX Handler ASP.NET urlMappings URL Rewriting in ASP.NET using global.asax and web.config Using Application_BeginRequest for a 301 Redirect Using web.config &#8211; Redirecting browsers with 301, 302, and 307 status codes on IIS 7 and IIS 7.5","og_url":"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/","og_site_name":"Hellbach blog","article_published_time":"2014-07-26T21:45:43+00:00","article_modified_time":"2022-11-24T08:03:51+00:00","author":"alex","twitter_card":"summary_large_image","twitter_misc":{"Written by":"alex"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/#article","isPartOf":{"@id":"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/"},"author":{"name":"alex","@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507"},"headline":"Redirect, Rewriter in .NET","datePublished":"2014-07-26T21:45:43+00:00","dateModified":"2022-11-24T08:03:51+00:00","mainEntityOfPage":{"@id":"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/"},"wordCount":42,"commentCount":0,"publisher":{"@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507"},"articleSection":["Dev"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/","url":"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/","name":"Redirect, Rewriter in .NET - Hellbach blog","isPartOf":{"@id":"https:\/\/hellbach.us\/blog\/#website"},"datePublished":"2014-07-26T21:45:43+00:00","dateModified":"2022-11-24T08:03:51+00:00","breadcrumb":{"@id":"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/hellbach.us\/blog\/tech\/dev\/redirect-rewriter-net\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hellbach.us\/blog\/"},{"@type":"ListItem","position":2,"name":"Redirect, Rewriter in .NET"}]},{"@type":"WebSite","@id":"https:\/\/hellbach.us\/blog\/#website","url":"https:\/\/hellbach.us\/blog\/","name":"Hellbach blog","description":"","publisher":{"@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hellbach.us\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507","name":"alex","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9868a7f8fd709cd74cf51d978359a3ce66a47a17cd57185a9e1a4774d288e228?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9868a7f8fd709cd74cf51d978359a3ce66a47a17cd57185a9e1a4774d288e228?s=96&d=mm&r=g","caption":"alex"},"logo":{"@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/posts\/1194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/comments?post=1194"}],"version-history":[{"count":0,"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/posts\/1194\/revisions"}],"wp:attachment":[{"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/media?parent=1194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/categories?post=1194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/tags?post=1194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}