• Resolved benobi37

    (@benobi37)


    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 https://ammylamphotography.com – however if we use the prefix 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 to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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.

    Thread Starter benobi37

    (@benobi37)

    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 'https://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.

    Thread Starter benobi37

    (@benobi37)

    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

    (@benobi37)

    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

    Thread Starter benobi37

    (@benobi37)

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘content errors with https’ is closed to new replies.