• Hello,

    before I went live with my wordpress site otc-pirates.com, I have tested it in another folder. For GoLive I changed the permalinks and basically everything works. However, the browser still shows, that the site is unsecure (SSL icon with exclamation mark)

    On using the Firefox Inspector (F12) I can see, that several images are loaded from the old test folder. For example:
    https://www.olddomain.de/…picture.jpg

    But when I check the media library, the file shows the correct URL:
    https://www.otc-pirates.com/…picture.jpg

    I already deleted the browser cache in the hope, this was a local issue. But it still looks for the file in the old folder. Where is this information stored and how can I change it?

    Thanks,
    Michael

    • This topic was modified 2 years, 5 months ago by michael1508.
    • This topic was modified 2 years, 5 months ago by michael1508.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • because the code is not dynamic. ?

    
    <a href="https://www.otc-pirates.com/"><img src="https://www.galla.de/pirates/wp-content/uploads/sites/4/2022/03/header-logos_80_ukraine.jpg" / ></a>               
    

    instead of using direct links like that .
    use <?php bloginfo(‘url’); ?> use this function this will return your current domain url. when you change domain or folder it will work on current place.

    
    <a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('url'); ?>/wp-content/uploads/sites/4/2022/03/header-logos_80_ukraine.jpg" / ></a>               
    
    lisa

    (@contentiskey)

    -have you checked your site using this too? https://www.whynopadlock.com/
    -have you tried search and replace plugin for your database to check for incorrect domain name? (i.e. http: vs https: etc.)
    -have you checked in any modified theme files or custom css area for incorrect domain name (i.e. http: vs https: etc.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Browser loads media from old folder’ is closed to new replies.