Title: https, css breaking when a published post is updated
Last modified: September 1, 2016

---

# https, css breaking when a published post is updated

 *  [daniellefrappier](https://wordpress.org/support/users/daniellefrappier/)
 * (@daniellefrappier)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/https-css-breaking-when-a-published-post-is-updated/)
 * We recently had to switch our site from http to https. Now whenever a published
   post is updated the css points to http instead of https unless we purge the cache.
 * We are also using cloudflare and another caching plugin for our directory called
   geodirectory booster from geodirectory.
 * Are there any settings that I should look at, or have you seen this problem before.
 * Currently I have W3 total cache turned off because of the issue.
 * [https://www.electronichouse.com](https://www.electronichouse.com)
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/https-css-breaking-when-a-published-post-is-updated/#post-7606092)
 * Hello daniellefrappier, I hope all is well!
 * Try to force SSL with one of the plugins listed below:
    [https://wordpress.org/plugins/really-simple-ssl/](https://wordpress.org/plugins/really-simple-ssl/)
   [https://wordpress.org/plugins/force-ssl/](https://wordpress.org/plugins/force-ssl/)(
   Although it’s been two rears since the last update, this is the most recommended
   plugin to force SSL)
 * I hope this helps!
 * Cheers,
    Nastia
 *  Thread Starter [daniellefrappier](https://wordpress.org/support/users/daniellefrappier/)
 * (@daniellefrappier)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/https-css-breaking-when-a-published-post-is-updated/#post-7606102)
 * [@nastia](https://wordpress.org/support/users/nastia/)
 * Thank you. I ended up adding the following the my htaccess to force ssl
 * # Redirect HTTP to HTTPS
    RewriteEngine On RewriteCond %{HTTPS} !on RewriteCond%{
   SERVER_PORT} !^443$ RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule 
   ^(.*)$ [https://%](https://%){HTTP_HOST}/$1 [R=301,L]

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘https, css breaking when a published post is updated’ is closed to new
replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 2 replies
 * 2 participants
 * Last reply from: [daniellefrappier](https://wordpress.org/support/users/daniellefrappier/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/https-css-breaking-when-a-published-post-is-updated/#post-7606102)
 * Status: not resolved