Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Images not displaying with HTTPS

Discussion in 'Security' started by Charles McGuyer, Dec 21, 2016.

  1. Charles McGuyer

    Charles McGuyer Registered

    Joined:
    Jul 16, 2016
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    At home
    cPanel Access Level:
    Website Owner
    While logging into WHS I was asked to save something pertaining to https. I wanted my site to be secure so I saved that option. When I go to my site and enter "https://mysite.com" my images don't show up. Or my ads that I display. What do I need to do to correct this? Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This likely stems from how the images are included with the web page. You'll need to ensure the images are linked directly to the file path (e.g. /home/$username/public_html/images/123.jpg) instead of with the http URL. This relates to the website coding as opposed to the cPanel software.

    Thank you.
     
  3. Charles McGuyer

    Charles McGuyer Registered

    Joined:
    Jul 16, 2016
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    At home
    cPanel Access Level:
    Website Owner
    I have 4 other sites on the same server and the https works fine for them. Just on the main site. Wonder what the problem is?
     
    #3 Charles McGuyer, Dec 21, 2016
    Last edited: Dec 21, 2016
  4. Charles McGuyer

    Charles McGuyer Registered

    Joined:
    Jul 16, 2016
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    At home
    cPanel Access Level:
    Website Owner
    This was a hotlinking issue. I added the https and the images are showing now. But the ads aren't. Those URLs with the https may have to be added on their end. Thanks again.
     
    cPanelMichael likes this.
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page