# Setting canonical URL when posting/cross-posting

**URL:** <https://meta.discourse.org/t/setting-canonical-url-when-posting-cross-posting/239275>\
**Category:** Support\
**Created:** [September 17, 2022, 1:49pm UTC](https://meta.discourse.org/t/setting-canonical-url-when-posting-cross-posting/239275 "2022-09-17T13:49:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![user12](https://avatars.discourse-cdn.com/v4/letter/u/e0b2c6/32.png) [@user12](https://meta.discourse.org/u/user12)\
**Post date:** [September 17, 2022, 1:49pm UTC](https://meta.discourse.org/t/setting-canonical-url-when-posting-cross-posting/239275/1 "2022-09-17T13:49:16Z")

</div>

I have a personal blog, which sometimes have articles that fits another public discourse forum in my language.

Is there a way to specify the canonical URL when posting to discourse?, to avoid showing duplicate content to search engines.  
It’s a static blog, so no plugin exists, and not all posts fit the topic of the discourse forum.

It would be great if there is a way to specify the Canonical URL when posting.  
I read its possible through the API, I can request an API key from the admins, but what’s the command that I should use to post my topic?

---

_[View the full topic](https://meta.discourse.org/t/setting-canonical-url-when-posting-cross-posting/239275)._
