Enabling SSL for particular page in magento

1 min read
Share:

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

comments ( 3 )

  1. 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 *