Jump to content

Odd URLs - contain session and SEO info


Recommended Posts

I think this may be be due to a disparity between what the web server is saying the domain is versus what you have told CubeCart the SSL variant is.


You didn't mention the URL's protocol, so please review the settings on the Store Settings, SSL tab, and also review the .htaccess file for any statements that change the domain name.


But this is just a guess.

Link to comment
Share on other sites

Store is set to always use the same domain as is .htaccess, also set to always use WWW.

SSL invokes for Login/Registration/Basket pages


Store settings: 

Enable SSL: YES
Force SSL mode on all pages: NO
SSL root path:  /
SSL Store URL: https://www.domain.com
Standard Store URL: http://www.domain.com
Relevant .htaccess
#Force WWW and account for https
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Edit - removed full .htaccess code as it wasn't the issue.
Link to comment
Share on other sites

I contacted CC support and they were able to resolve by modifying this file:   /classes/ssl.class.php

Not sure if it's okay to post that change here or not, PM me if anyone needs it. Support confirmed the change will be in the 5.2.3 release.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...