Title: .htaccess changes &#8211; auto WP Updates
Last modified: August 31, 2016

---

# .htaccess changes – auto WP Updates

 *  [thebirdman](https://wordpress.org/support/users/thebirdman/)
 * (@thebirdman)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/htaccess-changes-auto-wp-updates/)
 * With the last WP update, 4.4.1, my .htaccess file seems to have got modified.
 * We have had problems with WP saying the “Cart is Empty” when one clicks “Checkout”.
   Seems there is a conflicting problem if someone goes into the cart using http
   instead of https.
 * Our workaround was to add the following code to the .htaccess file:
    RewriteCond%{
   SERVER_PORT} !^443$ RewriteRule (.*) [https://%](https://%){HTTP_HOST}%{REQUEST_URI}[
   R=301,L]
 * After the 4.4.1 update the .htaccess was the same minus the two lines of code
   above.
 * Is there something in the most recent WP security update that would have modified
   this .htaccess file?

Viewing 1 replies (of 1 total)

 *  Thread Starter [thebirdman](https://wordpress.org/support/users/thebirdman/)
 * (@thebirdman)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/htaccess-changes-auto-wp-updates/#post-6918359)
 * …also, this could just be coincidence that I first noticed the problem was back
   after the 4.4.1 update, but thought I would ask.
 * I’m trying to track down when, how & why the .htaccess file got modified.

Viewing 1 replies (of 1 total)

 The topic ‘.htaccess changes – auto WP Updates’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [thebirdman](https://wordpress.org/support/users/thebirdman/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/htaccess-changes-auto-wp-updates/#post-6918359)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
