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://%{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.
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?
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.
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 , 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.
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
Anybody able to advise on my last post above please? Cheers
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.
hope this helps 🙂
frank
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/
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.