{"id":2610761,"date":"2012-03-06T00:43:06","date_gmt":"2012-03-06T00:43:06","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wordpress-and-www-redirect\/"},"modified":"2016-08-20T05:24:37","modified_gmt":"2016-08-20T05:24:37","slug":"wordpress-and-www-redirect","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wordpress-and-www-redirect\/","title":{"rendered":"WordPress and WWW. Redirect"},"content":{"rendered":"<p>Hi there!<\/p>\n<p>My question is how can I redirect mysitename.com to www.mysitename.com<br \/>\nthrough godaddy hosting.  Now the funny part is I have done this in the past, and if I remember correctly it was through my .htaccess file.<\/p>\n<p>However, I&#8217;ve tried fooling around with this redirect(is it a 401 or a 301) and I have not had any luck.<\/p>\n<p>For what it&#8217;s worth, i&#8217;m running my wordpress site from a godaddy shared hosting(which is also hosting my OTHER wordpress site).<\/p>\n<p>also, I can post my .htaccess file directly on here if it&#8217;s not a problem.<\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-2610761","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2610761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2610761\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2610761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}