# 外部ドメインのサブディレクトリでDiscourseを実行する方法は？

**URL:** <https://meta.discourse.org/t/how-to-run-discourse-on-subdirectory-of-external-domain/134788>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2019 年 12 月 1 日午前 8:15 UTC](https://meta.discourse.org/t/how-to-run-discourse-on-subdirectory-of-external-domain/134788 "2019-12-01T08:15:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![UltraLuz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ultraluz/32/160013_2.png) [@UltraLuz](https://meta.discourse.org/u/UltraLuz)\
**Post date:** [2019 年 12 月 1 日午後 8:26 UTC](https://meta.discourse.org/t/how-to-run-discourse-on-subdirectory-of-external-domain/134788/4 "2019-12-01T20:26:42Z")

</div>

SEOでは、安全策を講じるに越したことはありません。blog.domain がドメインの SEO を向上させるとは思えませんし、そもそもブログドメインを持つ意味がないでしょう。

> **[SEO Best Practices with Cloudflare Workers, Part 2: Implementing Subdomains](https://blog.cloudflare.com/subdomains-vs-subdirectories-improved-seo-part-2/)**
>
> Subdomains and subdirectories are different strategies for instrumenting root domains with new features, but which strategy is technically better?

このガイドに従おうかと考えています。どちらの ```  
assetsPathnames: [“/public/”, “/assets/”]

```plaintext

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-run-discourse-on-subdirectory-of-external-domain/134788)._
