• Resolved Amaru

    (@amarumedina)


    Good morning, hope I can get some assistance here as this problem is really frustrating me.

    For some reason the main page to my site is not loading correctly, I can still see the information, however it loads without any styling and is just a flat page. If you however click on any of the links, it brings back the main formatting. Clicking back to the main page however, again disables all formatting.

    I have tried this in a range of different browsers, mobile phones and tablets and problem remains.

    I have tried to update all the plug-ins, I have disabled them and re-enabled them, I have cleared the cache with the problem remaining. I’m using the Pinboard theme.

    The website is: https://travellingmedinas.com/
    I’ve uploaded a screenshot here in case it shows normal for some reason: http://www.travellingmedinas.com/img/Screenshot.png

    Any assistance is appreciated!

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator threadi

    (@threadi)

    You are using a “Newfold Page Cache”. This may play a role here. I would recommend that you first deactivate it as a test.

    Jayson Gumanid

    (@jaygumanid)

    Hello @amarumedina

    I’m sorry to hear about your styling issue on your website’s homepage.

    Upon checking, it seemed you are serving the stylesheet on the homepage using unsecured url. The browser sees this as mixed content, thus blocking the stylesheet and scripts from being loaded.

    To explain plainly, if you remove the ‘s’ on your site’s https, the style loads because they are all serve uniformly: https://monosnap.com/file/AZjrAtU69xO60m8vGxpYmMgjqc7cA0
    try clicking: http://travellingmedinas.com

    What you can do is replace the unsecured stylesheet on your homepage: from HTTP to HTTPS. Did you hard code the homepage yourself?

    You have two options:
    1. Force resources to load in HTTPS with WP Force SSL plugins.

    2. This can also be done with Search And Replace plugin, look for instance of HTTP and replace with HTTPS, but tread carefully as it will modify the Database.

    Let me know how it goes or if you need further assistance.

    Jayson Gumanid

    (@jaygumanid)

    Looks like your site is now fixed. Could be the caching plugin indeed

    Thread Starter Amaru

    (@amarumedina)

    Thanks for the suggestions, been busy at work, didn’t change anything but as I tried the site at work it seemed to work. However, trying it at home and was still getting the same issue.

    Noticed that I had an error message under plugins to edit wp-config.php and change the line “define(‘WP_CACHE’, false);” and instead try true. Did that and it seems to work fine now in chrome however still have the same issue in Brave and DuckDuckGo.

    In regards to the stylesheet on the homepage using unsecured url, can you confirm which file it is that I need to update?

    And no, didn’t hard code the entire site myself, however have added a lot of code that I felt improved it (or at least did and has worked fine over the past few years).

    Thanks!

    Jayson Gumanid

    (@jaygumanid)

    Thanks for the update @amarumedina

    May I suggest you try the above suggestions?
    1. Turning off the caching plugin you have. Kindly revert the wpconfig.php line to “define(‘WP_CACHE’, false);”

    2. Force resources to load in HTTPS with WP Force SSL plugin.

    Then let us know how it goes.

    Thread Starter Amaru

    (@amarumedina)

    Have installed WP Force SSL and enabled the Redirect HTTP requests to HTTPS option
    Have also reverted the wpconfig.php back to false.

    Seems to work ok now, will check on a few more devices in the morning and see if it all works and resolve the matter then if that’s the case.

    Thanks again!

    Jayson Gumanid

    (@jaygumanid)

    Glad it worked @amarumedina, should you see the issue persists, try bypassing the cache by adding “?v=2” after the URL:
    e.g. https://travellingmedinas.com/?v=2

    I hope that helps.

    Jayson Gumanid

    (@jaygumanid)

    By the way, thank you for featuring the Philippines in your blog 🙂 I hope you enjoyed your travel here.

    Thread Starter Amaru

    (@amarumedina)

    It all seems to be working, I’ll keep the “?v=2” in mind as well.

    And yes, Philippines was a great place to visit and I can’t wait to return, in particular the Palawan, best waters I’ve been in, just amazing!

    Thanks again for all your help!

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

The topic ‘Main page has lost all formatting (style)’ is closed to new replies.