# embed\_url に canonical\_url を設定するオプションを追加

**URL:** <https://meta.discourse.org/t/add-option-to-set-canonical-url-to-embed-url/103915>\
**Category:** Feature\
**Created:** [2018 年 12 月 10 日午後 4:14 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:** 3

<div class="post-metadata">

**Author:** ![Quintin\_Par](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/quintin_par/32/120500_2.png) [@Quintin\_Par](https://meta.discourse.org/u/Quintin_Par)\
**Post date:** [2018 年 12 月 11 日午後 4:41 UTC](https://meta.discourse.org/t/add-option-to-set-canonical-url-to-embed-url/103915/3 "2018-12-11T16:41:43Z")

</div>

> [@gerhard](#):
>
> Should this be a configurable? Is there a good reason for keeping the current behavior of always using the topic’s URL as canonical?

Yes. And by default don’t enable the blog post’s URL as canonical. Let the customer set the switch. Otherwise this is going to change a lot of Search referral traffic all of a sudden.

> [@gerhard](#):
>
> Should the blog post’s URL only be used as canonical for N pages presented to the search bot? After all, only a certain amount of posts is embedded in the blog post. (N probably should be 1)

IMHO, only the blog post linking [top post](https://d.pr/i/R1HE17) should be made canonical. The responses and follow ups should not be.

---

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