I’ve installed the Matomo plugin and tried to access the Admin Page, but I’m getting this error:
Could not find wp-load. If your server uses symlinks or a custom content directory, Matomo may not work for you as we cannot detect the paths correctly. For more information see https://matomo.org/faq/wordpress/how-do-i-make-matomo-for-wordpress-work-when-i-have-a-custom-content-directory/
I tried with the 2nd method mentioned on this page, namely:
2. By creating a file in the plugins directory
I’ve created a file:
with this content:
<?php exit; .../sites/mysite/site/web/wp/wp-load.php
but I’m still getting the same error.
Any ideas how can I fix it?