How do I fix the error “AddHandler not allowed here”
If you are using Apache and have disabled the “AddHandler” feature then you might get an error message similar to this:
/wp-content/plugins/matomo/.htaccess: AddHandler not allowed here, referer: ...
To disable add handler in our .htaccess files, simply add the following line to your wp-config.php
:
define('MATOMO_DISABLE_ADDHANDLER', true);
Please note that it might take an hour or more until the cron executes the task to disable this feature.
This feature requires Matomo for WordPress 4.0 or newer and it requires the .htaccess
files to be writable by your webserver.
If you later decide to enable AddHandler again, then you will need to either update the plugin or re-upload the Matomo for WordPress plugin.