Jump to Navigation

one https javascript version for entire site http & https?

No replies
Cralan Deutsch
Offline

Q: We've just started our trial and have a bit of a problem. We are using pdShop shopping cart and have a template that goes through out the program including both http & https pages. I cannot put different codes into the different types of pages. Is it possible to just use the https code on all the pages?

 

 

A: Yes, to simplify things, you can use the secure version of the script throughout the entire site.

To use a secure version of the script, you need to make one change to the script:

Place an "s" after "http" in the script, so that the first part of the script:

 

<script src="http://script.opentracker.net/?site=example.com"></script>

 

becomes:

 

<script src="https://script.opentracker.net/?site=example.com"></script>