Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


microsoft rewriting module force www on url or remove www from url using -'asp.net,iis-7,url-rewriting,web-config,url-rewrite-module'


microsoft rewriting module force www on url or remove www from url  using -'asp.net,iis-7,url-rewriting,web-config,url-rewrite-module'

I have a shared hosting plan with Windows Server 2008 and IIS7.5, and there is Microsoft rewriting module installed and enabled.

<rewrite>
    <rules>
        <rule name="myRule" patternSyntax="Wildcard">
            <!--Rewriting code-->
        </rule>
    </rules>
</rewrite>


So, how to redirect mydomain.com/everywhere-in-site/my-page.html to www.mydomain.com/everywhere-in-site/my-page.html with Microsoft rewriting module?

And what if I want to redirect www.mydomain.com/everywhere-in-site/my-page.html to mydomain.com/everywhere-in-site/my-page.html ?
    

asked Sep 7, 2015 by rajesh
0 votes
24 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...