• Resolved Michael

    (@mkalina)


    I am using Piwik in a subfolder of my WP-installation. There is a thread here, where you suggest to change the creation of a session-ID in a Piwik-file. Of course, this would mean to change core-files and this, again, would mean to do this everytime there is an update. Not nice.

    Since I really like NF, I am asking whether there is any other method to use both – Piwik and NF – and NOT have to change core-files in one or the other?

    https://www.ads-software.com/plugins/ninjafirewall/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nintechnet

    (@nintechnet)

    You can still whitelist the Piwik folder with the help of the .htninja configuration file:

    <?php
    /*
     +===================================================================+
     | NinjaFirewall optional configuration file                         |
     |                                                                   |
     | See: https://nintechnet.com/ninjafirewall/wp-edition/help/?htninja |
     +===================================================================+
    */
    
    if (strpos($_SERVER['SCRIPT_FILENAME'], '/piwik_folder/') !== FALSE) {
       return 'ALLOW';
    }

    If possible, it would be a good idea to password protect the Piwik folder so that no one else can access it.

    Thread Starter Michael

    (@mkalina)

    Worked! Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problems with Piwik Session-ID’ is closed to new replies.