@infomazeteam opened this Issue on October 13th 2017

Hi,

  1. My PIWIK is running on https and i have even Force HTTPS plugin activated.
  2. My site where i am using the tracking code is on https as well.

But as soon as add the code the green pad lock is not visible, it basically consider it as insecure.

When i checked the chrome network requests then i found that it first call piwik.js, after that piwik.php and then it try to send the request to piwik login page.
Please check the attached screen shot to know what i mean.
2017-10-13 13_30_39-https___secure propertycampaign com_piwik php
When i checked the same thing on piwik.org there it is not going to index page. did any one else faced this problem please? is there any setting or solution please this please?

@Findus23 commented on October 13th 2017 Member

Hi,
Can you check the third request. Something on your webserver is redirecting the request instead of letting it through to Piwik.
Maybe check your .htaccess for old rules.

UPDATE:
I tested it a bit more and the fact that secure.propertycampaign.com appears in the piwik URL (https://analytics.propertycampaign.com/piwik.php?action_name=PropertyCampaign%20User%20Area&idsite=10000&rec=1&r=447092&h=10&m=27&s=56&url=https%3A%2F%2Fsecure.propertycampaign.com%2F&_id=ee99418bd62286a9&_idts=1507883277&_idvc=1&_idn=0&_refts=0&_viewts=1507883277&cs=windows-1252&send_image=1&cookie=1&res=1920x1080&gt_ms=206&pv_id=OWMMmf)
confuses some redirect rule on the server.

@infomazeteam commented on October 13th 2017

Hi,

Thanks, secure.propertycampaign.com is my site URL.

Also https://analytics.propertycampaign.com is in a seperate root directory and does not have any .htaccess file.

Kindly note: User logs are getting recorded correctly, it is just this redirect issue.

Thanks

@mattab commented on October 19th 2017 Owner

Looks like your piwik.php or something else issues a 302 redirect to the homepage of your subdomain.

I recommend you check your JS code contains a line like this:

var u="//analytics.domain.org/";

If not, copy-paste the JS code that Piwik latest version gives you, into your website

This Issue was closed on October 19th 2017
Powered by GitHub Issue Mirror