I installed phpList in a subdomain of the main domain. Every link should go into the main domain of course. EXCEPT CLICKTRACK URLs that have to reach the phpList system.
Is there a way to set the base URL for CLICKTRACK to something else then the site or main URL for everything else?
@Binlist Not entirely sure what you mean by
Every link should go into the main domain
but when phplist is installed in the root directory of a subdomain, so the admin pages are accessed by something like phplist.mydomain.com/admin, then you should have
in config.php
$pageroot = '';
On the Settings page Website address (without http://)
phplist.mydomain.com
Ah maybe I described it not precise enough.
- Site is: www.something.tld
- Installed in: newsletter.something.tld/lists
So for the normal links and everything to work the site url in “General” is www.something.tld
All links in “Subscription settings” can be hardcoded to newsletter.something.tld/lists/?p=unsubscribe and so on
But the CLICKTRACK links that are generated somehow end in
www.something.tld/lists/…
and i can’t find a way to move them to
newsletter.something.tld/lists/…
Was that more precise?
@Binlist On the Settings page Website address (without http://) refers to phplist not your main web site so it needs to be newsletter.something.tld
and $pageroot should be '/lists'
All the URLs in the Subscriptions group should adjust automatically, but you might have to edit each individually.