HTTPS Links not loading - OC 2.2
Posted: Wed Apr 13, 2016 5:50 pm
Hi,
I am having trouble setting up my OC 2.2 store to use HTTPS. I am struggling for the past week with this and cannot seem to fix it.
I have done the following things in order to set up HTTPS:
1. Edited config.php in admin and root and added HTTPS to HTTPS_Server/image/catalog (not to HTTP as that will make the site unusable. reasons below)
2. Edited admin.php and catalog.php from system/config/ and have set "$_['site_ssl']" to "true"
3. Enabled in admin store settings to Use SSL.
The problem is that HTTPS only works if they are not ending in a forward slash, and if they are in the format of
> https://*.com/page
example:
> https://*.com/page <- works
> https://*.com/product <- works
> https://*.com/page/ <- does not work
> https://*.com/product/ <- does not work
> https://*.com/parent-category/page/2 <- does not work
> https://*.com/parent-category/sub-cat/ <- does not work
> https://*.com/parent-category/product <- does not work
note:
- all these pages are working when in HTTP
- all pages are SEO friendly and have keywords
If anyone can give me an idea or where to look to make these pages load even in HTTPS it would be greatly appreciated.
Thank you !
I am having trouble setting up my OC 2.2 store to use HTTPS. I am struggling for the past week with this and cannot seem to fix it.
I have done the following things in order to set up HTTPS:
1. Edited config.php in admin and root and added HTTPS to HTTPS_Server/image/catalog (not to HTTP as that will make the site unusable. reasons below)
2. Edited admin.php and catalog.php from system/config/ and have set "$_['site_ssl']" to "true"
3. Enabled in admin store settings to Use SSL.
The problem is that HTTPS only works if they are not ending in a forward slash, and if they are in the format of
> https://*.com/page
example:
> https://*.com/page <- works
> https://*.com/product <- works
> https://*.com/page/ <- does not work
> https://*.com/product/ <- does not work
> https://*.com/parent-category/page/2 <- does not work
> https://*.com/parent-category/sub-cat/ <- does not work
> https://*.com/parent-category/product <- does not work
note:
- all these pages are working when in HTTP
- all pages are SEO friendly and have keywords
If anyone can give me an idea or where to look to make these pages load even in HTTPS it would be greatly appreciated.
Thank you !