GoDaddy — Implementing Url Rewrite Rule with Windows Hosting

<?xml version="1.0" encoding="utf-8"?> <configuration>   <system.webServer>     <rewrite>       <rules>         <clear />         <rule name="HTTP to HTTPS redirect" enabled="true" stopProcessing="true">           <match url="(.*)" />           <conditions>             <add input="{HTTPS}" pattern="off" ignoreCase="true" />           </conditions>           <action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />         </rule>       </rules>     </rewrite>   </system.webServer> </configuration>

--

--

--

Curator of quality content on codegabber.com and averagetoentrepreneur.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Build Reusable Components with Vue.js

My Phase 1 App

How To Create Flexible Components Using ng-content in Angular

Flexible

Publish Subscribe Model in Lightning Web Component (LWC): Part 2 | Salesforce Blog

My Understanding of c++ keyword inline

Specs2, the next 10 years

Build Blog Site using Gatsby JS — Part 2 (Chakra UI & Home Page)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tyler Bockler

Tyler Bockler

Curator of quality content on codegabber.com and averagetoentrepreneur.com

More from Medium

Websocket rooms: Horizontal scaling architectures

Create a Feature in a Database Using SQLite3 and Active Record: Creating a Table

REST API and Koa JS in simple words.

OAuth 2.0 with Passport.js Part — 2