{"id":6918282,"date":"2016-01-07T21:01:24","date_gmt":"2016-01-07T21:01:24","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/htaccess-changes-auto-wp-updates\/"},"modified":"2016-08-31T00:10:11","modified_gmt":"2016-08-31T00:10:11","slug":"htaccess-changes-auto-wp-updates","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/htaccess-changes-auto-wp-updates\/","title":{"rendered":".htaccess changes &#8211; auto WP Updates"},"content":{"rendered":"<p>With the last WP update, 4.4.1, my .htaccess file seems to have got modified. <\/p>\n<p>We have had problems with WP saying the &#8220;Cart is Empty&#8221; when one clicks &#8220;Checkout&#8221;.  Seems there is a conflicting problem if someone goes into the cart using http instead of https.<\/p>\n<p>Our workaround was to add the following code to the .htaccess file:<br \/>\nRewriteCond %{SERVER_PORT} !^443$<br \/>\nRewriteRule (.*) https:\/\/%{HTTP_HOST}%{REQUEST_URI} [R=301,L]<\/p>\n<p>After the 4.4.1 update the .htaccess was the same minus the two lines of code above.  <\/p>\n<p>Is there something in the most recent WP security update that would have modified this .htaccess file?<\/p>\n","protected":false},"template":"","class_list":["post-6918282","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6918282","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\/6918282\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6918282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}