I am sending a mail with different confirmation links from different signals. These mails contain a link that the recipient has to click. If I am sending the link from http://www.example.com the confirmation link looks something like http://www.example.com/confirmation.
At the moment I am hard coding the domain name inside my settings file but maybe there is a better way more flexible way?
Use standard sites contrib app