Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 11-08-2018 05:20:51

dukes
Member
From: London
Registered: 09-18-2003
Posts: 97
Website

changeover to https caused issues!! Help

Hi All
I recently changed over my site to https as recommended using the instructions posted by Nick in a previous post. This causes a few issues.

1. breaks many links on the following page on the site

https://www.concept-zen.com/Account

2. deleting items added to the shopping basket does not remove them until you do a page refresh. (I thought the Ajax page refresh would have done this but it does not)

For now this is what I have found but obviously this stops any transactions being placed. Secure urls are being shown correctly and there is no unsecure content on my home page.

My htaccess file has the following rules etc


# Turn Rewite Engine On
Options +FollowSymLinks
RewriteEngine on

# Version 8 Rewrite Rules
#RewriteBase /
#RewriteCond %{HTTP_HOST} !^www.concept-zen.com$
#RewriteRule ^(.*)$ http://www.concept-zen.com/$1 [R=301,L]

#RewriteCond %{HTTPS} off
#RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]

RewriteRule ^prod--(.*)\.html /Item/$1 [R=301,L]
RewriteRule ^cat--(.*)\.html /Category/$1 [R=301,L]

RewriteRule ^index.php - [L,PT]
RewriteRule ^$ index.php?COREseourl=/ [L,PT]
RewriteRule ^/$ index.php?COREseourl=/ [L,PT]
RewriteRule ^sitemap\.xml utilities/sitemap.xml [L,PT]
RewriteRule ^rss\.xml utilities/rss.xml [L,PT]
RewriteCond %{REQUEST_URI} ^/
RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?COREseourl=/$1 [L,PT]
AddType x-httpd-php56 .php




Any help will be appreciated so I can move on from this and get onto the task of updating the products on my website which is the real urgent work which requires to be done.
If you need any other information let me know.
regards
Dukes


regards
dukes

Offline

 

#2 11-12-2018 07:46:07

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: changeover to https caused issues!! Help

Everything appears to be working as I run through it this morning.  Are you still having issues?  Are you testing with a particular browser?


Nick Hendler

Offline

 

#3 11-12-2018 08:17:40

dukes
Member
From: London
Registered: 09-18-2003
Posts: 97
Website

Re: changeover to https caused issues!! Help

Hi sorry nick I should have updated my post. I managed to fix it last night. I'll post my solution later today. Pretty much involved removing the PT and L directives from the penultimate line in my htaccess file rules. I'll explain my reasoning for this. If my logic is flawed then I'll welcome any feedback. I've tested the change as much as possible. By logging into secure areas, adding, updating and deleting from the shopping cart. Clicking on URL links everywhere also to test they do lead to the correct page and don't just hang.


regards
dukes

Offline

 

#4 11-13-2018 07:42:24

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: changeover to https caused issues!! Help

I think adding the [L,PT] back onto the end of that line and moving:

AddType x-httpd-php56 .php

To the top would achieve the same thing.  Not sure without testing, though.  L means last rule, PT means to translate the path (done for most rewrites).


Nick Hendler

Offline

 

#5 11-17-2018 12:35:37

dukes
Member
From: London
Registered: 09-18-2003
Posts: 97
Website

Re: changeover to https caused issues!! Help

Thanks nick I'll test it and update.


regards
dukes

Offline

 

Board footer