BugBuster1701 / contao-visitors-bundle

Contao 4/5 Visitors Bundle
GNU Lesser General Public License v3.0
2 stars 2 forks source link

Feature: DNT: Do Not Track #34

Closed BugBuster1701 closed 6 years ago

BugBuster1701 commented 6 years ago

Nicht zählen wenn Browser DNT übermittelt.

https://www.pixelfreu.de/blog/details/items/dnt-do-not-track.html

BugBuster1701 commented 6 years ago

Berechtigter Einwand: Würde denn Visitors dann überhaupt noch was zählen? (Bots sind ja auch schon unterdrückt, nun auch noch Menschen)

Schmidty2 commented 6 years ago

Zitat: Bots sind ja auch schon unterdrückt,...

wieso lösen diese dann einen 404 aus und die 404er Zugriffe von Bots werden gezählt? Siehe https://community.contao.org/de/showthread.php?70669-Viele-Error404-Zugriffe-in-der-Visitors-Statistik-sichtbar&p=472915&viewfull=1#post472915

BugBuster1701 commented 6 years ago

Was hast du in der htaccess stehen, das nicht gefundene png Dateien zu Contao umgelenkt werden?

BugBuster1701 commented 6 years ago

Ah merke grad das macht die htaccess von Contao 4 sogar selbst. Habe mal auch eine 404 angelegt und teste das mal.

Schmidty2 commented 6 years ago

Ich habe die Original Contao4 .htaccess ergänzt um:

# Weiterleitung auf www-Adresse
  RewriteEngine On
  RewriteCond %{HTTP_HOST} !^www\. [NC]
  RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [L,R=301]
# Weiterleitung von http:// auf https://
  RewriteEngine On
  RewriteCond %{HTTPS} off
  RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]
BugBuster1701 commented 6 years ago

Fehler auf 404 Seite: https://github.com/BugBuster1701/contao-visitors-bundle/issues/36