New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entry/Exit pages have wrong URLs #1747
Comments
The encoding related ticket is #1746 |
I found out why all those URLs are wrong! Only SSL URLs are properly displayed. The ones containing only http are preceded by a slash and shown in full. It seems Piwik doesn't work properly when using secure URLs. |
I re-read your comment and there's a contradiction in your last two sentences. |
I apologize, the last sentence should read: But I think I've found the problem and it has to do with the way it was installed. |
What does the rewrite rule look like? Maybe we can detect this case and avoid double encoding. |
That would be great :) RewriteEngine On |
|
I don't have access to my test box at the moment, but can you try using the 'NE' (noescape) or 'B' (escape backreference) flags? Something like:
|
I've tried "NE", but it didn't work properly. URLs looked good, but there was no information about the referer. |
Is that conclusion based others visiting your site? (For your visits, you have to observe the 3rd case in http://piwik.org/faq/troubleshooting/#faq_51.) |
I've visited a few sites that I track. With the .htaccess, the connexion made was always using SSL. One way to avoid these kind of issues could be to have the management interface in a separate folder like /admin. Another way would be for Piwik to be able to force an SSL connection to the management interface. |
Forcing the UI to use ssl is covered by #1677. IIRC, you can put the rewrite rule within a <Files>...</Files> container. In this way, you could make sure the redirect isn't applied to piwik.php. |
Thank you very much for the quick answers. |
Instead of having the nice hierarchical breakdown by folders, most of my entry/exit pages start with a slash (/) and are followed by the full URL
/http://mysite.com/folder
I have no idea why only a few work properly, but it could be related to another bug I filed where URLs in my piwik are encoded.
The text was updated successfully, but these errors were encountered: