Links in generated email are incorrect

(James Cook) #1

I’m running Discourse on a subdomain ( When users request a password reset, the link it generates is, missing out the forum part.

I’ve checked my app.yml and my discourse hostname is

Any idea how I fix this?


(Jeff Atwood) #2

er… what? That makes no sense. The site is at

and it is sending

Sounds like you didn’t rebuild after changing the hostname?

(James Cook) #3

I never changed the host name, it was always set up at

I only just noticed now as I have imported data from another site and needed to reset a password for an account.

Beats me. I didn’t know if it was something to do with link tracking or something?

(James Cook) #8

The link looks like this:

But actually links to this:

I’ve changed random characters to make the links invalid but you get the idea.

(Jeff Atwood) #9

This is your email service adding link tracking, it has nothing to do with us…

(James Cook) #10

Ahhh crap. Apologies. I will look into it. Thanks for the help!