matomo-for-wordpress icon indicating copy to clipboard operation
matomo-for-wordpress copied to clipboard

wrong tracking URL when the module is a symlink

Open mattmary opened this issue 4 years ago • 2 comments

this is the real path which is used in the URL and not the symlink.

mattmary avatar Jul 22 '21 22:07 mattmary

@mattmary could you provide maybe a few more details like where you have the symlink exactly? what the tracking URL looks like with the symlink and what it should look like?

tsteur avatar Jul 23 '21 00:07 tsteur

sure. my symlink links /var/www/matomo-for-wordpress to wp-content/plugins/matomo. And the tracking URL contains wp-content/plugins/matomo-for-wordpress instead of wp-content/plugins/matomo.

mattmary avatar Jul 23 '21 01:07 mattmary

Note: this can be worked around by setting the MATOMO_ANALYTICS_FILE constant in wp-config.php.

diosmosis avatar Sep 06 '23 03:09 diosmosis

Closing since there's a workaround.

diosmosis avatar Oct 26 '23 20:10 diosmosis