# 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:** 13

<div class="post-metadata">

**Author:** ![real\_ate](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/real_ate/32/129325_2.png) [@real\_ate](https://meta.discourse.org/u/real_ate)\
**Post date:** [17.Январь.2019 21:28:43 UTC](https://meta.discourse.org/t/add-option-to-set-canonical-url-to-embed-url/103915/13 "2019-01-17T21:28:43Z")

</div>

Howdy folks 👋

I originally wanted to weigh in here and join in the calls for this feature, but after diving in a bit deeper I wanted to share what I learned about how this works (in case anyone missed it like I did initially!)

We’ve just embedded Discourse as the comment system for our blog and I had a little mini freak out when I clicked the “Show full post…” button and saw the whole blog copied without the correct canonical URL 😳

After taking a few deep breaths I went into my “debug mode” and started checking the straight HTML response and checked how much of the post is actually there. As it turns out **only the initial paragraph is included in the HTML** and therefore this is all Google will see. Phew!

Having a second look at it, it makes perfect sense in the way the UX is laid out. I’m assuming the **reason** it’s hidden behind a button is because you want people to be able to read the full post and not affect SEO 👍

I guess initially I was surprised that that “Show full Post…” wasn’t just a link to the original blog 🤔 but I guess it’s an OK way to do it 😂

---

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