Crea sito

[TUTORIAL] Let not WP pages to be counted in statistic

Thanks to the help of Maurice Cramer that experiment a bit with the plugin, you can let NewStatPress to count even visits to pages in your site that are not managed by WordPress.

For making this to happen you have to:

  • Place at least your pages into the root directory level of WordPress (where wp.config.php lies)
  • Your pages can have their directory structure as you like
  • For each page you must insert this code:

Use as many ../ or reaching that files from yuor directory where the page is placed.

Thats all 🙂

The content is blocked until cookie law is accepted and page is reloaded.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato.

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.