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.

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

Now flush the cache and check.


Regards,
Amatya Trivedi
amatya@intelligrape.com

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 Reply

Your email address will not be published. Required fields are marked *