Title: content errors with https
Last modified: December 16, 2019

---

# content errors with https

 *  Resolved [benobi37](https://wordpress.org/support/users/benobi37/)
 * (@benobi37)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/content-errors-with-https/)
 * Hi all
 * First post from a newbie so please excuse my ignorance.
 * About 2 years ago my wife had a website created for her by a design agency using
   an off the shelf template. We’ve not modified this website since then.
 * It works absolutely fine with [http://ammylamphotography.com](http://ammylamphotography.com)–
   however if we use the prefix [https://ammylamphotography.com](https://ammylamphotography.com)
   we get a screen that has the content but it’s all jumbled up in terms of screen
   position etc.
 * I’ve tried searching for an answer but haven’t come across this exact issue. 
   Can someone help point me to what this problem is called, and more specifically,
   is it a simple fix for a newbie like myself or will this require a degree of 
   wordpress expertise to resolve?
 * Many thanks
 * Ben
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcontent-errors-with-https%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [anant101289](https://wordpress.org/support/users/anant101289/)
 * (@anant101289)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/content-errors-with-https/#post-12242615)
 * Hello,
    try these steps 1).backup your .htaccess file 2).remove your old .htaccess
   code 3).add this code and save: =============================================
   ============================== RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule
   ^(.*)$ [https://%](https://%){HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
 * # BEGIN WordPress
    # The directives (lines) between `BEGIN WordPress` and `END
   WordPress` are # dynamically generated, and should only be modified via WordPress
   filters. # Any changes to the directives between these markers will be overwritten.
   <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php
   $ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-
   d RewriteRule . /index.php [L] </IfModule> # END WordPress ==================
   ========================================================== then check website
   may be your content issue solved.
 * Thanks.
 *  Thread Starter [benobi37](https://wordpress.org/support/users/benobi37/)
 * (@benobi37)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/content-errors-with-https/#post-12245928)
 * Thanks but this made it worse. Now it just forces the http address to https –
   the content issue is still present. Please can you advise?
 *  [mbain](https://wordpress.org/support/users/markcbain/)
 * (@markcbain)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/content-errors-with-https/#post-12246893)
 * Looking at your site, the problem is that your site is trying to request an insecure
   stylesheet, e.g. it’s trying to download a file from the HTTP address instead
   of the HTTPS, and the browser is preventing this.
 * `Mixed Content: The page at 'https://www.ammylamphotography.com/' was loaded 
   over HTTPS, but requested an insecure stylesheet 'http://www.ammylamphotography.
   com/wp-content/uploads/pp/static/9d844a13-e150-412d-b8d5-d5c8d455ff8e-1575286917.
   css'. This request has been blocked; the content must be served over HTTPS.`
 * Looking at that URL, it looks to me as if you are loading a cached stylesheet.
   Try first clearing the cache (I think it’s the Autoptimize plugin), see if that
   works.
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/content-errors-with-https/#post-12246917)
 * > Looking at that URL, it looks to me as if you are loading a cached stylesheet.
   > Try first clearing the cache (I think it’s the Autoptimize plugin), see if 
   > that works.
 * based on the page source you’re using “ProPhoto cache” [@benobi37](https://wordpress.org/support/users/benobi37/),
   you’ll have to clear that + ideally you’ll have to ensure the page is always 
   loaded over HTTPS to avoid HTTP-pages (with http-resources) get cached and used
   on HTTPS-pages.
 *  Thread Starter [benobi37](https://wordpress.org/support/users/benobi37/)
 * (@benobi37)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/content-errors-with-https/#post-12248740)
 * Thanks for the responses. Apologies for the upcoming newbie questions:
 * > Looking at that URL, it looks to me as if you are loading a cached stylesheet.
   > Try first clearing the cache (I think it’s the Autoptimize plugin), see if 
   > that works.
 * Could you direct me as to where I would clear this cache? Is it accessed via 
   cPanel?
 * > ideally you’ll have to ensure the page is always loaded over HTTPS to avoid
   > HTTP-pages (with http-resources) get cached and used on HTTPS-pages.
 * Could you help elaborate as to how I would achieve this please?
 * Cheers
 * Ben
 *  Thread Starter [benobi37](https://wordpress.org/support/users/benobi37/)
 * (@benobi37)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/content-errors-with-https/#post-12256066)
 * Anybody able to advise on my last post above please? Cheers
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/content-errors-with-https/#post-12256133)
 * clearing your page cache would be in your wordpress backend somewhere, look for“
   ProPhoto cache” or something similar.
 * forcing your site to use https; don’t know/ use cpanel myself, but [based on this article it can be configured there](https://blog.cpanel.com/force-https-redirection/).
 * hope this helps 🙂
    frank
 *  Thread Starter [benobi37](https://wordpress.org/support/users/benobi37/)
 * (@benobi37)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/content-errors-with-https/#post-12260161)
 * OK I have some good news to report. I’ve managed to resolve the issue by following
   these steps: [https://help.pro.photo/hosting-domain/use-ssl-certficates-https-protocol/](https://help.pro.photo/hosting-domain/use-ssl-certficates-https-protocol/)
 * I believe that my site is running the free SSL certificate already, so I just
   needed to update the wordpress URL references to https and then set up the redirects
   as instructed.

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

The topic ‘content errors with https’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 4 participants
 * Last reply from: [benobi37](https://wordpress.org/support/users/benobi37/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/content-errors-with-https/#post-12260161)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
