{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/1390","repository_url":"https://api.github.com/repos/aspnet/Home","labels_url":"https://api.github.com/repos/aspnet/Home/issues/1390/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/1390/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/1390/events","html_url":"https://github.com/aspnet/Home/issues/1390","id":148985222,"number":1390,"title":"Redirect non-www to www rule.","user":{"login":"mkarlsson","id":5114880,"avatar_url":"https://avatars.githubusercontent.com/u/5114880?v=3","gravatar_id":"","url":"https://api.github.com/users/mkarlsson","html_url":"https://github.com/mkarlsson","followers_url":"https://api.github.com/users/mkarlsson/followers","following_url":"https://api.github.com/users/mkarlsson/following{/other_user}","gists_url":"https://api.github.com/users/mkarlsson/gists{/gist_id}","starred_url":"https://api.github.com/users/mkarlsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkarlsson/subscriptions","organizations_url":"https://api.github.com/users/mkarlsson/orgs","repos_url":"https://api.github.com/users/mkarlsson/repos","events_url":"https://api.github.com/users/mkarlsson/events{/privacy}","received_events_url":"https://api.github.com/users/mkarlsson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-17T19:23:56Z","updated_at":"2016-04-17T21:05:40Z","closed_at":null,"body":"Do we still use the rewrite rules in web.config for forwarding users to www instead of non-www domains? "},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/211116658","html_url":"https://github.com/aspnet/Home/issues/1390#issuecomment-211116658","issue_url":"https://api.github.com/repos/aspnet/Home/issues/1390","id":211116658,"user":{"login":"mkarlsson","id":5114880,"avatar_url":"https://avatars.githubusercontent.com/u/5114880?v=3","gravatar_id":"","url":"https://api.github.com/users/mkarlsson","html_url":"https://github.com/mkarlsson","followers_url":"https://api.github.com/users/mkarlsson/followers","following_url":"https://api.github.com/users/mkarlsson/following{/other_user}","gists_url":"https://api.github.com/users/mkarlsson/gists{/gist_id}","starred_url":"https://api.github.com/users/mkarlsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkarlsson/subscriptions","organizations_url":"https://api.github.com/users/mkarlsson/orgs","repos_url":"https://api.github.com/users/mkarlsson/repos","events_url":"https://api.github.com/users/mkarlsson/events{/privacy}","received_events_url":"https://api.github.com/users/mkarlsson/received_events","type":"User","site_admin":false},"created_at":"2016-04-17T21:05:40Z","updated_at":"2016-04-17T21:05:40Z","body":"@cwe1ss No, I have this on my core 1.0 RC1 on azure website and it works..\r\n\r\n   <rewrite>\r\n      <rules>\r\n        <rule name=\"Redirect mulimo.com to www\" patternSyntax=\"Wildcard\" stopProcessing=\"true\">\r\n          <match url=\"*\" />\r\n          <conditions>\r\n            <add input=\"{HTTP_HOST}\" pattern=\"mysite.com\" />\r\n          </conditions>\r\n          <action type=\"Redirect\" url=\"https://www.mysite.com/{R:0}\" />\r\n        </rule>\r\n      </rules>\r\n    </rewrite>"}}