Jump to content

CSS not working through a shared SSL


damiancds
 Share

Recommended Posts

I recently set up a shared SSL for my site, and the pages that use the SSL don't link to my CSS or any of my images.my setup is thispage links to page (includes.html) via <?php require("/home/ledger6/public_html/resources/includes/includes.html"); ?>which, in turn links to my css via <link rel="stylesheet" type="text/css" href="/resources/includes/css/style.css" media="screen">and images in my css are referenced like this: background-image: url('/resources/images/system/backgrounds/back_005.jpg');I've read about not using certain types of links, but I'm not sure how to do it without changing everything.any help would be greatly appreciated.

Link to comment
Share on other sites

If all the CSS and background images are using relative URLs (which is what you seem to be saying) then SSL shouldn't make any difference to CSS or image loading. Could you provide a link to the site so we can take a look?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...