# \#subfolder

**URL:** https://meta.discourse.org/tag/subfolder/47.md

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

---

## [Button to share conversation in AI conversation not respecting sub folder setup](https://meta.discourse.org/t/button-to-share-conversation-in-ai-conversation-not-respecting-sub-folder-setup/310854)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Replies:** 3\
**Last updated:** [August 24, 2026, 6:59am UTC](https://meta.discourse.org/t/button-to-share-conversation-in-ai-conversation-not-respecting-sub-folder-setup/310854 "2026-08-24T06:59:12Z")

</div>

If you ask Discourse AI a question and start a PM with it, you get a button with an option to share the conversation. The link that is copied to the clipboard isn’t respecting the sub folder in the url for installs with …

---

## [Serve Discourse from a subfolder (path prefix) instead of a subdomain](https://meta.discourse.org/t/serve-discourse-from-a-subfolder-path-prefix-instead-of-a-subdomain/30507)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 30\
**Last updated:** [April 14, 2026, 9:15pm UTC](https://meta.discourse.org/t/serve-discourse-from-a-subfolder-path-prefix-instead-of-a-subdomain/30507 "2026-04-14T21:15:09Z")

</div>

: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…

---

## [How to access Discourse admin after URL change?](https://meta.discourse.org/t/how-to-access-discourse-admin-after-url-change/396669)

<div class="topic-metadata">

**Author:** [@Steve\_John](https://meta.discourse.org/u/Steve_John)\
**Replies:** 3\
**Last updated:** [March 17, 2026, 3:28pm UTC](https://meta.discourse.org/t/how-to-access-discourse-admin-after-url-change/396669 "2026-03-17T15:28:48Z")

</div>

Hi all, we changed the Discourse URL from a subdomain (site.company.com) to a folder path (company.com/site). Now we are unable to access the Discourse admin to log in and make OAuth settings changes. Any pointer to help…

---

## ["Show Full Post" button doesn't work in subfolder installations](https://meta.discourse.org/t/show-full-post-button-doesnt-work-in-subfolder-installations/390811)

<div class="topic-metadata">

**Author:** [@Thiago\_Mobilon](https://meta.discourse.org/u/Thiago_Mobilon)\
**Replies:** 33\
**Last updated:** [January 2, 2026, 4:39pm UTC](https://meta.discourse.org/t/show-full-post-button-doesnt-work-in-subfolder-installations/390811 "2026-01-02T16:39:42Z")

</div>

I recently moved our Discourse installation to a subfolder. After doing that, the “Show full post” button stopped working – you click to expand the content, but it doesn’t load the full post. Nothing changed in my WP Di…

---

## [Serve Discourse from a subfolder, Login redirects to root path](https://meta.discourse.org/t/serve-discourse-from-a-subfolder-login-redirects-to-root-path/386619)

<div class="topic-metadata">

**Author:** [@truman](https://meta.discourse.org/u/truman)\
**Replies:** 4\
**Last updated:** [December 10, 2025, 10:47pm UTC](https://meta.discourse.org/t/serve-discourse-from-a-subfolder-login-redirects-to-root-path/386619 "2025-12-10T22:47:37Z")

</div>

version:v3.5.1 my website: https://www.example.com/forum local login(homepage) will redirect to https://www.example.com Logging in from a non-homepage does not have this issue. log Processing by StaticController#ent…

---

## [Discourse sign in redirects to root directory instead of subfolder](https://meta.discourse.org/t/discourse-sign-in-redirects-to-root-directory-instead-of-subfolder/390516)

<div class="topic-metadata">

**Author:** [@Science\_Geeks](https://meta.discourse.org/u/Science_Geeks)\
**Replies:** 8\
**Last updated:** [December 10, 2025, 7:30pm UTC](https://meta.discourse.org/t/discourse-sign-in-redirects-to-root-directory-instead-of-subfolder/390516 "2025-12-10T19:30:16Z")

</div>

I configured my discourse forum to be in a subfolder(migrated from subdomain to subfolder which entailed moving from hosted by discourse to self hosted) by following the guidelines on doing that. Now everything works, ex…

---

## [Sidebar links act strange in subfolder setup](https://meta.discourse.org/t/sidebar-links-act-strange-in-subfolder-setup/386652)

<div class="topic-metadata">

**Author:** [@KockaAdmiralac](https://meta.discourse.org/u/KockaAdmiralac)\
**Replies:** 1\
**Last updated:** [October 26, 2025, 9:47pm UTC](https://meta.discourse.org/t/sidebar-links-act-strange-in-subfolder-setup/386652 "2025-10-26T21:47:51Z")

</div>

I run a Discourse forum under /d and I’m encountering some strange issues with links in the sidebar. If I try to link to the root website in the sidebar (with absolute URL), the sidebar automatically converts that to a…

---

## [Links not generated properly for subfolder site](https://meta.discourse.org/t/links-not-generated-properly-for-subfolder-site/278007)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Replies:** 2\
**Last updated:** [April 24, 2025, 5:09am UTC](https://meta.discourse.org/t/links-not-generated-properly-for-subfolder-site/278007 "2025-04-24T05:09:19Z")

</div>

We are running into an issue that all of the links that the bot is generating when searching our site aren’t taking our subfolder configuration into account. Is this known?

---

## [Publish Discourse under URL](https://meta.discourse.org/t/publish-discourse-under-url/332795)

<div class="topic-metadata">

**Author:** [@Taste-OF-IT](https://meta.discourse.org/u/Taste-OF-IT)\
**Replies:** 8\
**Last updated:** [October 28, 2024, 7:57pm UTC](https://meta.discourse.org/t/publish-discourse-under-url/332795 "2024-10-28T19:57:44Z")

</div>

Hi, i have a selfhosted installation of discourse with an nginx in front of discourse in docker. I can reach it by forum.my.tld. I also have installed Wordpress, which is also reachable from public. I now want to integr…

---

## [Cloudflare with subfolder setup](https://meta.discourse.org/t/cloudflare-with-subfolder-setup/331528)

<div class="topic-metadata">

**Author:** [@tig3](https://meta.discourse.org/u/tig3)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 1:17pm UTC](https://meta.discourse.org/t/cloudflare-with-subfolder-setup/331528 "2024-10-18T13:17:59Z")

</div>

I just wanted to share steps that I did, on setting up a subfolder along with cloudflare, especially when the main website is live already and the root domain can not be pointed to the forum server (even temporarily). …

---

## [Clicking on a chat message in notifications doesn't respect subfolder](https://meta.discourse.org/t/clicking-on-a-chat-message-in-notifications-doesnt-respect-subfolder/307239)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Replies:** 2\
**Last updated:** [May 8, 2024, 12:49pm UTC](https://meta.discourse.org/t/clicking-on-a-chat-message-in-notifications-doesnt-respect-subfolder/307239 "2024-05-08T12:49:48Z")

</div>

For those on subfolder installations, clicking on a notification for a chat message doesn’t respect the subfolder in the path: Site: developer.sailpoint.com/discuss URL for chat message in notifications (e.g.): deve…

---

## [Last update breaks permalink for categories](https://meta.discourse.org/t/last-update-breaks-permalink-for-categories/297435)

<div class="topic-metadata">

**Author:** [@pama](https://meta.discourse.org/u/pama)\
**Replies:** 17\
**Last updated:** [March 4, 2024, 10:57am UTC](https://meta.discourse.org/t/last-update-breaks-permalink-for-categories/297435 "2024-03-04T10:57:54Z")

</div>

With the last update the permalink to category is broken, permalinks for topics are working fine. For example: category/11562 redirects to c/11562 which is incorrect, the redirect which is correctly set as destination …

---

## [Bug when quoting a private topic and discourse is not in basepath (duplicate prefix)](https://meta.discourse.org/t/bug-when-quoting-a-private-topic-and-discourse-is-not-in-basepath-duplicate-prefix/294102)

<div class="topic-metadata">

**Author:** [@janbolmeson](https://meta.discourse.org/u/janbolmeson)\
**Replies:** 1\
**Last updated:** [February 13, 2024, 6:23am UTC](https://meta.discourse.org/t/bug-when-quoting-a-private-topic-and-discourse-is-not-in-basepath-duplicate-prefix/294102 "2024-02-13T06:23:57Z")

</div>

Follow-up / similar error to When moving posts to another thread AND discourse is not in basepath - prefix is missing in href: Background / pre-requisities: I have a forum-installation in a subfolder (example.com/for…

---

## ["Back to all tags" link broken on Manage Tag Groups page](https://meta.discourse.org/t/back-to-all-tags-link-broken-on-manage-tag-groups-page/288825)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Replies:** 2\
**Last updated:** [December 18, 2023, 8:51am UTC](https://meta.discourse.org/t/back-to-all-tags-link-broken-on-manage-tag-groups-page/288825 "2023-12-18T08:51:29Z")

</div>

This button is not taking subfolder installations into account and isn’t adding the subfolder to the url. Interestingly enough, left-clicking the link will still work in a subfolder install and take you back to the tags …

---

## [When moving posts to another thread AND discourse is not in basepath - prefix is missing in href](https://meta.discourse.org/t/when-moving-posts-to-another-thread-and-discourse-is-not-in-basepath-prefix-is-missing-in-href/283836)

<div class="topic-metadata">

**Author:** [@janbolmeson](https://meta.discourse.org/u/janbolmeson)\
**Replies:** 1\
**Last updated:** [November 13, 2023, 12:10pm UTC](https://meta.discourse.org/t/when-moving-posts-to-another-thread-and-discourse-is-not-in-basepath-prefix-is-missing-in-href/283836 "2023-11-13T12:10:04Z")

</div>

Pre conditions: I have discourse installed in a subfolder setup e.g. example.com/forum/ A thread is splitted and posts are moved to another topic Expected result: Link that is: example.com/forum/t/xxxx/12345 o…

---

## [HTTPS doesn't work when installing Discourse in a subfolder (Ubuntu 20 and Plesk)](https://meta.discourse.org/t/https-doesnt-work-when-installing-discourse-in-a-subfolder-ubuntu-20-and-plesk/273021)

<div class="topic-metadata">

**Author:** [@Alessandra\_Paolillo](https://meta.discourse.org/u/Alessandra_Paolillo)\
**Replies:** 3\
**Last updated:** [July 27, 2023, 7:51am UTC](https://meta.discourse.org/t/https-doesnt-work-when-installing-discourse-in-a-subfolder-ubuntu-20-and-plesk/273021 "2023-07-27T07:51:53Z")

</div>

I have Ubuntu 20 and Plesk. I install Discourse in a subdomain using docker. I followed post instructions and I can install discourse with http, but when I try to activate the admin user the page doesn’t load properl…

---

## [Bug in links in admin notice for discourse installs in a subfolder](https://meta.discourse.org/t/bug-in-links-in-admin-notice-for-discourse-installs-in-a-subfolder/271445)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Replies:** 1\
**Last updated:** [July 12, 2023, 9:16pm UTC](https://meta.discourse.org/t/bug-in-links-in-admin-notice-for-discourse-installs-in-a-subfolder/271445 "2023-07-12T21:16:07Z")

</div>

The links presented in this admin notice didn’t take into account my subfolder in the url when clicking on them.

---

## [Not find a Gravatar](https://meta.discourse.org/t/not-find-a-gravatar/268889)

<div class="topic-metadata">

**Author:** [@Đạt\_Hoàng](https://meta.discourse.org/u/%C4%90%E1%BA%A1t_Ho%C3%A0ng)\
**Replies:** 6\
**Last updated:** [June 20, 2023, 9:26am UTC](https://meta.discourse.org/t/not-find-a-gravatar/268889 "2023-06-20T09:26:03Z")

</div>

I have served Discourse from a subfolder like domain/forum. Everything runs smoothly except for the loss of all the gravatars of old users, and when I register a new user, the gravatars also don’t display old users: …

---

## [Domain missing from some requests after migration from subfolder back to subdomain](https://meta.discourse.org/t/domain-missing-from-some-requests-after-migration-from-subfolder-back-to-subdomain/253556)

<div class="topic-metadata">

**Author:** [@Magnetidog](https://meta.discourse.org/u/Magnetidog)\
**Replies:** 8\
**Last updated:** [February 12, 2023, 3:18am UTC](https://meta.discourse.org/t/domain-missing-from-some-requests-after-migration-from-subfolder-back-to-subdomain/253556 "2023-02-12T03:18:31Z")

</div>

Hello guys, I have a Discourse installation which was living in a subdirectory and has now been moved to a subdomain. Everything seems to be working now, but we have a pending problem where Discourse calls the “theme-ja…

---

## [Uploads broken with subfolder installation](https://meta.discourse.org/t/uploads-broken-with-subfolder-installation/237867)

<div class="topic-metadata">

**Author:** [@insou](https://meta.discourse.org/u/insou)\
**Replies:** 6\
**Last updated:** [September 2, 2022, 11:27am UTC](https://meta.discourse.org/t/uploads-broken-with-subfolder-installation/237867 "2022-09-02T11:27:12Z")

</div>

Similar to Uploaded avatars and Gravatar not working with subfolder installation… All uploads are broken on my subfolder install. The uploads make it into the actual uploads directory, but when rendering the posts, all …

---

## [After installing in a subfolder, the dashboard report cannot be viewed](https://meta.discourse.org/t/after-installing-in-a-subfolder-the-dashboard-report-cannot-be-viewed/232079)

<div class="topic-metadata">

**Author:** [@Swilder](https://meta.discourse.org/u/Swilder)\
**Replies:** 4\
**Last updated:** [July 7, 2022, 3:15am UTC](https://meta.discourse.org/t/after-installing-in-a-subfolder-the-dashboard-report-cannot-be-viewed/232079 "2022-07-07T03:15:46Z")

</div>

After I configure the installation as a subfolder, the admin dashboard cannot view the charts My app.yml file: templates: - "templates/redis.template.yml" - "templates/web.template.yml" - "templates/web.socket…

---

## [Subfolder SSO Login redirection issue](https://meta.discourse.org/t/subfolder-sso-login-redirection-issue/110056)

<div class="topic-metadata">

**Author:** [@Rohan\_P](https://meta.discourse.org/u/Rohan_P)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 5:44pm UTC](https://meta.discourse.org/t/subfolder-sso-login-redirection-issue/110056 "2019-02-25T17:44:23Z")

</div>

Hi, I have deployed discourse on vm, and configured sso, Also have configured application gateway, we have set a path rule /community for forum, on hitting /community/session/sso the app authorises and redirects back to …

---

## [Subfolder install - external links get changed/redirected to site relative links](https://meta.discourse.org/t/subfolder-install-external-links-get-changed-redirected-to-site-relative-links/102506)

<div class="topic-metadata">

**Author:** [@vincentp](https://meta.discourse.org/u/vincentp)\
**Replies:** 13\
**Last updated:** [October 25, 2021, 11:03pm UTC](https://meta.discourse.org/t/subfolder-install-external-links-get-changed-redirected-to-site-relative-links/102506 "2021-10-25T23:03:49Z")

</div>

Hi I just migrated our discourse install from a subdomain to a subfolder. Yes, I know it’s not recommended, however we saw a significant (50%) drop in organic search traffic after moving our forums (and we’re sure there…

---

## [Image lightbox not working in subfolder install](https://meta.discourse.org/t/image-lightbox-not-working-in-subfolder-install/102930)

<div class="topic-metadata">

**Author:** [@Dave\_Sparks](https://meta.discourse.org/u/Dave_Sparks)\
**Replies:** 17\
**Last updated:** [December 6, 2018, 4:19am UTC](https://meta.discourse.org/t/image-lightbox-not-working-in-subfolder-install/102930 "2018-12-06T04:19:38Z")

</div>

I see that some images on this forum have an image lightbox where you can click on an image thumbnail and view the original image. Is there an admin setting to enable this as it does not appear to be working on our forum…

---

## [Site relative paths rewritten client side incorrectly with subfolder](https://meta.discourse.org/t/site-relative-paths-rewritten-client-side-incorrectly-with-subfolder/192947)

<div class="topic-metadata">

**Author:** [@vincentp](https://meta.discourse.org/u/vincentp)\
**Replies:** 15\
**Last updated:** [June 16, 2021, 3:13pm UTC](https://meta.discourse.org/t/site-relative-paths-rewritten-client-side-incorrectly-with-subfolder/192947 "2021-06-16T15:13:48Z")

</div>

This was working correctly, but a recent update seems to have broken it again Adding a relative link \[Full version 1.9.2 change history\](/downloads/continuaci/continua-ci-version-history-v192) results in the link bein…

---

## [Issue with FAQ link on edge case subfolder setup](https://meta.discourse.org/t/issue-with-faq-link-on-edge-case-subfolder-setup/181798)

<div class="topic-metadata">

**Author:** [@renato](https://meta.discourse.org/u/renato)\
**Replies:** 4\
**Last updated:** [March 4, 2021, 10:28pm UTC](https://meta.discourse.org/t/issue-with-faq-link-on-edge-case-subfolder-setup/181798 "2021-03-04T22:28:34Z")

</div>

First, this is an edge case very specific to my setup, with the /f subfolder. Discourse link on hamburger menu points to /faq, without the subfolder, because /faq startsWith /f. Considering this quote: I guess we cou…

---

## [Wrong route after selecting a Category and a tag using the drop downs on a subfolder setup](https://meta.discourse.org/t/wrong-route-after-selecting-a-category-and-a-tag-using-the-drop-downs-on-a-subfolder-setup/180755)

<div class="topic-metadata">

**Author:** [@renato](https://meta.discourse.org/u/renato)\
**Replies:** 2\
**Last updated:** [February 26, 2021, 5:16pm UTC](https://meta.discourse.org/t/wrong-route-after-selecting-a-category-and-a-tag-using-the-drop-downs-on-a-subfolder-setup/180755 "2021-02-26T17:16:27Z")

</div>

Using a subfolder setup, when the user selects a tag after a category or a category after a tag, Discourse is using the route /\[subfolder\]/tags/\[subfolder\]/c/\[category slug\]/\[category id\]/\[tag\] instead of /\[subfolder\]…

---

## [Client-side path rewrite failing with subfolder setup](https://meta.discourse.org/t/client-side-path-rewrite-failing-with-subfolder-setup/179504)

<div class="topic-metadata">

**Author:** [@renato](https://meta.discourse.org/u/renato)\
**Replies:** 4\
**Last updated:** [February 22, 2021, 1:26pm UTC](https://meta.discourse.org/t/client-side-path-rewrite-failing-with-subfolder-setup/179504 "2021-02-22T13:26:28Z")

</div>

Continuing the discussion from Discourse rewriting url path behaviour failing due to subfolder: I have the exact same issue from the aforementioned topic, in which the URL is rewritten only in scenarios where the start …

---

## [Two bugs with usernames starting with subfolder name](https://meta.discourse.org/t/two-bugs-with-usernames-starting-with-subfolder-name/169505)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**Replies:** 2\
**Last updated:** [November 9, 2020, 7:02am UTC](https://meta.discourse.org/t/two-bugs-with-usernames-starting-with-subfolder-name/169505 "2020-11-09T07:02:00Z")

</div>

Setup: subfolder install on /forum able to reproduce both on v2.5.4 and tests-passed a user called forumadmin The user profile should be visible at /forum/u/forumadmin/summary However, when this URL is requested, a J…

---

## [Moving from directory to subdomain](https://meta.discourse.org/t/moving-from-directory-to-subdomain/81475)

<div class="topic-metadata">

**Author:** [@Ironclad14](https://meta.discourse.org/u/Ironclad14)\
**Replies:** 14\
**Last updated:** [May 12, 2020, 2:44pm UTC](https://meta.discourse.org/t/moving-from-directory-to-subdomain/81475 "2020-05-12T14:44:51Z")

</div>

Hi guys, To make my setup less complicated per @codinghorror’s advice, and since Let’s Encrypt now support subdomains, I decided to move my discourse from foo.bar/forum to forum.foo.bar What I did: Changed the domain …

[Next page](https://meta.discourse.org/tag/subfolder/47.md?match_all_tags=true&page=1&tags%5B%5D=subfolder)
