Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Secure Site


Recommended Posts

I need to make just my checkout page secure and not the whole site as it is now. Here is my .htaccess file and its something that needs to be edited within this code to make it just the checkout that is secure. Anyone know how to fix it?






Options +FollowSymLinks

RewriteEngine On

RewriteBase /


RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-p-(.*).html$ product_gallery.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-p-(.*).html$ product_accessories.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-p-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-p-(.*).html$ tell_a_friend.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}

RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

Link to comment
Share on other sites

I'm not sure what you mean by saying you only want your checkout page to be secure and not "the whole site".


With a shared or full ssl cert osCommerce does not make the whole site https - unless you set up the http_server addresses to the https pathway.


Also, in checkout, various pages loop back and fore the checkout_process.php file. If you only secure one page in the checkout process then you'll end up with security warnings when moving to checkout_process to check on a function.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...