Jump to content

How can we change all link http to https?


gomathi

Recommended Posts

Follow the below steps to enable the ssl to all pages in prestashop 1.5.3.1

1. Enable SSL in admin. Go to admin->preferences->General- Enable SSL

2. If Product Categories are not linked into https, then Go to Classes/ Link.php. Change _PS_BASE_URL_ to _PS_BASE_URL_SSL_

3. If http are not redirecting then change .htaccess file like below:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ (yoursite in https)$1 [R,L]
</IfModule>

Edited by gomathi (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...