Activate Email Redirect

I have just installed and setup Discourse on an Ubuntu v20 EC2 instance with Sendgrid as my smtp and all is well except for the email that is sent out on user signup - it seems that while the text is correct, something is injecting a subdomain into the link that is definitely not mine and then redirecting to a non-existent url.

Here is my email template for a new signup:

Click the following link to confirm and activate your new account:

I sent a test with this template and can confirm that both the %baseurl and the ‘hardcoded’ url both end up pointing to a

The ‘url4685’ is not my subdomain - which I checked on Route 53

I’m looking for a place to start, I’ve done all the testing I can think to do, but since this is my first Discourse deployment I would appreciate any pointers.

If you want to test this, the site should be (at least kinda) live - I may bring it down for testing and restarts while I try to sort this out.

1 Like

This is most likely Sendgrid doing url rewriting to track clicks of emails sent through it.


That was exactly the case! Thanks @supermathie


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.