# Add option to set canonical\_url to embed\_url

**URL:** <https://meta.discourse.org/t/add-option-to-set-canonical-url-to-embed-url/103915>\
**Category:** Feature\
**Created:** [10.Декабрь.2018 16:14:08 UTC](https://meta.discourse.org/t/add-option-to-set-canonical-url-to-embed-url/103915 "2018-12-10T16:14:08Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [11.Декабрь.2018 17:21:50 UTC](https://meta.discourse.org/t/add-option-to-set-canonical-url-to-embed-url/103915/8 "2018-12-11T17:21:50Z")

</div>

> [@gerhard](#):
>
> Will this work for the Wordpress plugin as well?

Yes, that should work. When a post is published from WordPress it creates a `TopicEmbed` on Discourse, with the `embed_url` set to the post’s permalink.

---

_[View the full topic](https://meta.discourse.org/t/add-option-to-set-canonical-url-to-embed-url/103915)._
