olaoyesunday Posted December 25, 2014 Share Posted December 25, 2014 Dear Larry, Merry Christmas and happy new year in advance!. I don't have ssl certificate now but how do I change the HTTPS in my mode rewrite to HTTP # For HTTPS pages:RewriteCond %{HTTPS} offRewriteRule ^(checkout\.php|billing\.php|final\.php|admin/(.*))$ https://%{HTTP_HOST}/$1 [R=301,L] to HTTP. anytime I tried to change <a href="https://' . BASE_URL . 'checkout.php" in cart.html to <a href="http://' . BASE_URL . 'checkout.php" it would remove my checkout.php from the subfolder to the root directory here is my full mode re-write <IfModule mod_rewrite.c>Options -MultiViewsRewriteEngine onRewriteBase /effortless_ecommerce_2nd/ecomm2/html/# For the primary categories:RewriteRule ^shop/(coffee|goodies)/?$ shop.php?type=$1# For sales:RewriteRule ^shop/sales/?$ /sales.php# For specific products:RewriteRule ^browse/(coffee|goodies)/([A-Za-z\+\-]+)/([0-9]+)/?$ browse.php?type=$1&category=$2&id=$3# For HTTPS pages:RewriteCond %{HTTPS} offRewriteRule ^(checkout\.php|billing\.php|final\.php|admin/(.*))$ https://%{HTTP_HOST}/$1 [R=301,L]</IfModule> Link to comment Share on other sites More sharing options...
Larry Posted December 26, 2014 Share Posted December 26, 2014 It sounds like you just want to remove those two lines that apply a rewrite rule for pages that require HTTPS. Happy Holidays! Link to comment Share on other sites More sharing options...
olaoyesunday Posted December 27, 2014 Author Share Posted December 27, 2014 After removing those two lines that apply a rewrite rule for pages that require HTTPS. the things still used to add https:// to the file on the browser and I don't know what to do next. Link to comment Share on other sites More sharing options...
Larry Posted December 30, 2014 Share Posted December 30, 2014 I suspect there's some HTML somewhere that's using HTTPS in its links, then. Link to comment Share on other sites More sharing options...
Recommended Posts