{"action":"created","issue":{"url":"https://api.github.com/repos/opentx/opentx.github.io/issues/7","labels_url":"https://api.github.com/repos/opentx/opentx.github.io/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/opentx/opentx.github.io/issues/7/comments","events_url":"https://api.github.com/repos/opentx/opentx.github.io/issues/7/events","html_url":"https://github.com/opentx/opentx.github.io/issues/7","id":58727208,"number":7,"title":"Request: Divert non-www to www","user":{"login":"JoeB99","id":10943625,"avatar_url":"https://avatars.githubusercontent.com/u/10943625?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeB99","html_url":"https://github.com/JoeB99","followers_url":"https://api.github.com/users/JoeB99/followers","following_url":"https://api.github.com/users/JoeB99/following{/other_user}","gists_url":"https://api.github.com/users/JoeB99/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeB99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeB99/subscriptions","organizations_url":"https://api.github.com/users/JoeB99/orgs","repos_url":"https://api.github.com/users/JoeB99/repos","events_url":"https://api.github.com/users/JoeB99/events{/privacy}","received_events_url":"https://api.github.com/users/JoeB99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T11:42:58Z","updated_at":"2015-03-09T10:55:17Z","closed_at":null,"body":"If entering http://open-tx.org into the browser, this should divert to http://www.open-tx.org. This does not affect sub-domains.\r\n\r\n.htaccess file: \r\n\r\n\t# - Divert non-www to www -------------------------------------------------------------------------------------\r\n\t\tRewriteCond %{HTTP_HOST} !^www\\.\r\n\t\tRewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]\r\n\t# - END Divert non-www to www ---------------------------------------------------------------------------------\r\n"},"comment":{"url":"https://api.github.com/repos/opentx/opentx.github.io/issues/comments/77833384","html_url":"https://github.com/opentx/opentx.github.io/issues/7#issuecomment-77833384","issue_url":"https://api.github.com/repos/opentx/opentx.github.io/issues/7","id":77833384,"user":{"login":"Dvogonen","id":6105151,"avatar_url":"https://avatars.githubusercontent.com/u/6105151?v=3","gravatar_id":"","url":"https://api.github.com/users/Dvogonen","html_url":"https://github.com/Dvogonen","followers_url":"https://api.github.com/users/Dvogonen/followers","following_url":"https://api.github.com/users/Dvogonen/following{/other_user}","gists_url":"https://api.github.com/users/Dvogonen/gists{/gist_id}","starred_url":"https://api.github.com/users/Dvogonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dvogonen/subscriptions","organizations_url":"https://api.github.com/users/Dvogonen/orgs","repos_url":"https://api.github.com/users/Dvogonen/repos","events_url":"https://api.github.com/users/Dvogonen/events{/privacy}","received_events_url":"https://api.github.com/users/Dvogonen/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T10:55:17Z","updated_at":"2015-03-09T10:55:17Z","body":"Open-tx.org is published through GitHub using the Jekyll script parsing engine. GitHub do not allow the use of .htaccess files. Neither are .conf files allowed.  More on that on this page: https://help.github.com/articles/redirects-on-github-pages/\r\n\r\nJekyll has a mechanism for redirecting pages, but as far as I understand by just reading about it, this mechanism only makes it possible to claim a redirection. That is, a page on the site can claim several URLs. I will try giving the mechanism a go, but I do not have high hopes.\r\n"}}