发布/交叉发布时设置规范网址

Have a look at Embed Discourse comments on another website via Javascript. I think that will insert the post automatically on discourse and handle the canonical bit.