Correct htaccess code to disable https redirects for images (PrestaShop)
$30-250 AUD
In Progress
Posted almost 11 years ago
$30-250 AUD
Paid on delivery
I need to run cookieless static content aka media servers in Prestashop 1.5.3.1 but I keep getting issues with https pages. It keeps linking images to https urls which causes broken images on the page making the page unsecured.
My checkout page is where I'm finding the problem. I can turn on CSS in prestashop and the entire website loads quick and works perfectly. Its only in https pages that images are broken.
I need htaccess code that will prevent all images (jpg, gif, png) from linking to https urls on my checkout page [login to view URL]
I'm running linux vps, should be a very quick project for someone who knows this issue. I've attached screen shot of the prestashop settings I want to use. --> [login to view URL]
Here is the htaccess code I'm currently using to make it work but I need to add the correct code to disable https for images.
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
redirect / [login to view URL]
RewriteRule ^/(.*):SSL$ [login to view URL]$1 [R,L]
RewriteRule ^/(.*):NOSSL$ [login to view URL]$1 [R,L]
Hey there, I'm Josh, a full time web developer/programmer and can help you with this. The simplest way is to store all images/css/javascript in a folder called "assets" or something like that. But we can work with just images also. Thanks!
$34 AUD in 1 day
4.7 (25 reviews)
4.0
4.0
8 freelancers are bidding on average $91 AUD for this job
Hello Sir, I am a linux expert with over 10 years of background as network and system administration and extended experience in php development. Please check PM. Regards, Iosif