Click here to Skip to main content
15,878,970 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I just added an SSL to my site. When I go to https://mydomain.com I see the text but no CSS or images are there. It is on a dedicated server and I have a full control of the code.

All paths currently are relative. I can view images and css when I go to those files directly whether using HTTP or HTTPS. But when i load a page they are not loading.

When I use Firebug and look in NET, I see for each image 403 Found. What does that mean?

What changes do I need to make to make sure http and https display site similarly?

Thanks.

What I have tried:

I tried Hotlink disable and still images not showing. You can see my website is https://www.zofaxworld.co.uk
Posted
Comments
Richard Deeming 16-Jan-23 5:12am    
403 would be "forbidden", not "not found":
List of HTTP status codes - Wikipedia[^]

Start by finding out the precise error, as you seem to have mixed up two different error codes.

Then check the "network" tab in your browser's developer tools to see precisely what URL is being requested, and inspect the response to see if it gives you any clues.

The most common cause would be referencing your images and stylesheets as a fully-qualified http:// link, which would be blocked as "mixed content". But you say you're using relative paths for everything, so that's unlikely to be the case.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900