# Moving Discourse from Subdomain to Subfolder

**URL:** https://meta.discourse.org/t/moving-discourse-from-subdomain-to-subfolder/95624
**Category:** Support
**Created:** [August 25, 2018, 11:36am UTC](https://meta.discourse.org/t/moving-discourse-from-subdomain-to-subfolder/95624 "2018-08-25T11:36:18Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)
#### Post date: [August 25, 2018, 11:36am UTC](https://meta.discourse.org/t/moving-discourse-from-subdomain-to-subfolder/95624/1 "2018-08-25T11:36:18Z")

</div>

14 Case Studies to back up the assertion that moving from subdomain to subfolder increases search traffic.

> <https://twitter.com/randfish/status/974011592902770688>

I have a root domain with better authority. Can I switch Discourse to a subfolder? 🤔

Is there any specific issue? Please show me right way.

---

<div class="post-metadata">

### Author: ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)
#### Post date: [August 25, 2018, 11:44am UTC](https://meta.discourse.org/t/moving-discourse-from-subdomain-to-subfolder/95624/2 "2018-08-25T11:44:49Z")

</div>

On one Droplet, I want to keep like this …

`https://example-wordpress-application.com/discourse/`

Root Domain = WordPress  
Subfolder = Discourse

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [August 25, 2018, 12:16pm UTC](https://meta.discourse.org/t/moving-discourse-from-subdomain-to-subfolder/95624/3 "2018-08-25T12:16:26Z")

</div>

> [@Serve Discourse from a subfolder (path prefix) instead of a subdomain](https://meta.discourse.org/t/subfolder-support-with-docker/30507):
>
> warning Discourse Official Statement about Subfolder setup We support subfolder setups for our hosted customers at the enterprise level and up. Due to heavy technical setup complexity we strongly recommend you do not use this setup unless you are very experienced in custom subfolder setups. It is critical you have a deep understanding of NGINX setup in the Discourse Docker container Secure original IP forwarding using custom headers in the proxy chain Rate limiting in front proxy server I…

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [August 25, 2018, 5:13pm UTC](https://meta.discourse.org/t/moving-discourse-from-subdomain-to-subfolder/95624/4 "2018-08-25T17:13:56Z")

</div>

Just as a warning,  
We keep listening this again & again but there have never been a real advantage of having a subfolder install.

It makes things complicated and difficult to manage

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [August 25, 2018, 6:39pm UTC](https://meta.discourse.org/t/moving-discourse-from-subdomain-to-subfolder/95624/5 "2018-08-25T18:39:34Z")

</div>

I have a background in several scientific technologies so what I would consider to be significant data based on valid “case studies” may be much more demanding than all of the SEO “evidence” I have ever seen. I have yet to see _any_ SEO evidence that convinced me that what Google representatives themselves have said is not correct.

Anyway, can an app be in a sub folder of another app? In many cases, sure. Potential pitfalls that come to mind are:

- HTTP routing issues
- filesystem path issues
- naming clashes
- dependency incompatibilities

When App1 and App2 are separate, if there is a problem with one the other will be unaffected. But when App1 and App2 are not separate, a problem in either can break _both_.

---

<div class="post-metadata">

### Author: ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)
#### Post date: [August 25, 2018, 8:44pm UTC](https://meta.discourse.org/t/moving-discourse-from-subdomain-to-subfolder/95624/6 "2018-08-25T20:44:16Z")

</div>

I am afraid now. Thinking to discontinue this thought.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 25, 2018, 8:51pm UTC](https://meta.discourse.org/t/moving-discourse-from-subdomain-to-subfolder/95624/7 "2018-08-25T20:51:05Z")

</div>

Do not believe the SEO snake oil salesmen. 🐍

If you want traffic, generate interesting, useful content for a long period of time. Literally nothing else matters.

---

<div class="post-metadata">

### Author: ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)
#### Post date: [August 25, 2018, 9:07pm UTC](https://meta.discourse.org/t/moving-discourse-from-subdomain-to-subfolder/95624/8 "2018-08-25T21:07:18Z")

</div>

Thanks for the honest response. 🙏

Thanks everyone.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 24, 2018, 9:21pm UTC](https://meta.discourse.org/t/moving-discourse-from-subdomain-to-subfolder/95624/9 "2018-09-24T21:21:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
