Enabling SSL for particular page in magento

19 / Mar / 2013 by amatya 3 comments

To enable SSL for particular page in magento first open .htaccess file of your magento and include following code in it.

RewriteEngine On
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^your-page-url/?$ https://%{HTTP_HOST}/your-page-url [R,L]

Now flush the cache and check.


Regards,
Amatya Trivedi
amatya@intelligrape.com

Tag -

FOUND THIS USEFUL? SHARE IT

comments (3)

  1. Suthan alley

    Hey Amatya, Thanks for providing a code to enable ssl for particular page in magento but i want to provide a quick and a full guide to enable ssl in magento

    Reply

Leave a comment -