Changing all image links to https

Fix it!!

Changing all image links to https

Postby servantofgod » Thu Nov 20, 2008 10:18 am

Is it possible to change all insecure images to secure images, so the page sources images from https rather than http?

images sources are currently coded without the domain name for example: <img src="prodimages/<?PHP echo $dropshippername; ?>/thumbnails/<?PHP echo $pImage; ?>"
Posts: 22
Joined: Wed Oct 01, 2008 8:14 am
Location: Chicago

Postby richardk » Thu Nov 20, 2008 1:16 pm

Mod_rewrite does not change the links in the pages so the request would still have top go to http before being redirected to https.

You will need to edit your PHP or you may be able to add a <base> HTML element if you want it to apply to all relative links.
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Return to Security with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 1 guest