Campaign stats not working Website address and domain name

I had phplist files on a folder like this:
example.com/lists

In the settings page I have:
Website address (without http://): example.com
Domain Name of your server (for email): example.com

The campaign stats were working fine.

Then I moved the phplist files to a subdomain:
news.example.com

And changed the pager to:
$pageroot = ‘’;

In the settings page I have:
Website address (without http://): example.com
Domain Name of your server (for email): example.com

The menus work, the links from the placeholders in the newsletters are correct pointing to news.example.com

But the campaign statistics are not working (are at zero)

My question is, what is the site address? The domain where the phplist files are, news.example.com or the actual website domain.com?

Another question, why is this setting needed:

Domain Name of your server (for email):

If all the needed emails are specified down bellow the settings page, what does phplist uses this setting for?

Thanks in advance,
Fred

By default, phpList expects to find itself in the lists directory, if you change this, you need to include $pageroot = “/news”; in the config/config.php file

1 Like

ok, I currently have $pageroot = ‘’; in the config.php file to tell phplist that the root is not a folder within the domain but the domain itself, in this case a subdomain: news.example.com

The problem is that the stats are not working and it´s probably related to this setting in the settings page:

Website address (without http://): example.com
Domain Name of your server (for email): example.com

I want to have the phplist install on a subdomain and have the emails sent from the domain example.com and not news.example.com

If you have put phplist onto a subdomain “news.example.com” then that needs to be the “website address”. You then access phplist at the root of http://news.example.com by changing $pageroot to an empty string, as you have done.

But the campaigns that you have already sent using the old domain include links to phplist for user tracking and click tracking. Those links will now be incorrect, as they go to http://example.com/lists/ut.php and http://example.com/lists/lt.php

1 Like

Thank you Duncan, that´s exactly what I needed to know.

Thanks

1 Like