wordpressimagehttphttpshttp-status-code-404

Why are WordPress images not showing up with HTTPS?


I'm facing a strange problem with SSL, in fact all my images didn't showing up on SSL, this is an example:

HTTP : http://www.electronique-mixte.fr/wp-content/uploads/2017/06/numidea-logo-electronique-mixte.png

HTTPS : https://www.electronique-mixte.fr/wp-content/uploads/2017/06/numidea-logo-electronique-mixte.png

For the same picture, the HTTP is working, but the HTTPS is not!

Website :

HTTPS no picture is showing up

HTTPS picture 404 error:

enter image description here

HTTP working fine:

enter image description here

Another browser (Edge):

enter image description here PS : I'm using incognito tab (avoid cache)


Solution

  • I found a solution:

    1. Update db, and change http to HTTPS (i used Better Search Replace Plugin)
    2. Remove cache
    3. Update htaccess change all http urls to HTTPS
    4. Force using SSL (i used Really Simple SSL plugin)