<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Install/Set App locations to a subdirectory]]></title><description><![CDATA[<p dir="auto">It would be super useful to be able to install/set App locations to a subdirectory URL of another App's root URL.</p>
<p dir="auto">I can think of a few use-cases for this; WordPress, NodeBB, Discourse, BookStack, Outline, Ghost, etc where it is beneficial to have the app installed to have it's root as a subdirectory of a primary domain, eg:</p>
<ul>
<li><a href="http://www.example.com/blog" target="_blank" rel="noopener noreferrer nofollow ugc">www.example.com/blog</a></li>
<li><a href="http://www.example.com/forum" target="_blank" rel="noopener noreferrer nofollow ugc">www.example.com/forum</a></li>
<li><a href="http://www.example.com/docs" target="_blank" rel="noopener noreferrer nofollow ugc">www.example.com/docs</a></li>
</ul>
<p dir="auto">etc.</p>
<p dir="auto">On Apache, this is just a rewrite rule, eg:</p>
<pre><code>RewriteEngine On

# Ensure mod_proxy is enabled and available
RewriteCond %{REQUEST_URI} ^/blog

# Proxy the request
RewriteRule ^blog/(.*)$ https://blog.example.com/$1 [P,L]
</code></pre>
]]></description><link>https://forum.cloudron.io/topic/12484/install-set-app-locations-to-a-subdirectory</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 02:53:18 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/12484.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Sep 2024 15:53:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Install/Set App locations to a subdirectory on Wed, 02 Oct 2024 11:26:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/95019">Install/Set App locations to a subdirectory</a>:</p>
<blockquote>
<p dir="auto"><a href="http://example.com/blog" target="_blank" rel="noopener noreferrer nofollow ugc">example.com/blog</a></p>
</blockquote>
<p dir="auto">Woops! yes, that is what I meant to write. Thanks!</p>
]]></description><link>https://forum.cloudron.io/post/95021</link><guid isPermaLink="true">https://forum.cloudron.io/post/95021</guid><dc:creator><![CDATA[LoudLemur]]></dc:creator><pubDate>Wed, 02 Oct 2024 11:26:02 GMT</pubDate></item><item><title><![CDATA[Reply to Install/Set App locations to a subdirectory on Wed, 02 Oct 2024 11:23:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/loudlemur" aria-label="Profile: LoudLemur">@<bdi>LoudLemur</bdi></a> I think <a class="plugin-mentions-user plugin-mentions-a" href="/user/marcusquinn" aria-label="Profile: marcusquinn">@<bdi>marcusquinn</bdi></a> wants <code>example.com/blog</code> . But no, there is no option to choose a subpath implementation. This has not been implemented yet at Cloudron level.</p>
]]></description><link>https://forum.cloudron.io/post/95019</link><guid isPermaLink="true">https://forum.cloudron.io/post/95019</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 02 Oct 2024 11:23:07 GMT</pubDate></item><item><title><![CDATA[Reply to Install/Set App locations to a subdirectory on Wed, 02 Oct 2024 11:27:04 GMT]]></title><description><![CDATA[<p dir="auto">Hang on, I thought there was an option somewhere in cloudron where you could toggle the location of the installation. For example, you could, as I think OP wants, opt between:</p>
<p dir="auto"><a href="http://blog.example.com" target="_blank" rel="noopener noreferrer nofollow ugc">blog.example.com</a><br />
vs<br />
<s>example.com.blog</s><br />
<a href="http://example.com/blog" target="_blank" rel="noopener noreferrer nofollow ugc">example.com/blog</a></p>
]]></description><link>https://forum.cloudron.io/post/95005</link><guid isPermaLink="true">https://forum.cloudron.io/post/95005</guid><dc:creator><![CDATA[LoudLemur]]></dc:creator><pubDate>Wed, 02 Oct 2024 11:27:04 GMT</pubDate></item><item><title><![CDATA[Reply to Install/Set App locations to a subdirectory on Tue, 01 Oct 2024 15:24:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Thanks. Going to have to test is, as the subdomain should be noindexed, and the subdirectory indexed, to avoid making a mess of SE and duplicate results in SERPs.</p>
]]></description><link>https://forum.cloudron.io/post/94984</link><guid isPermaLink="true">https://forum.cloudron.io/post/94984</guid><dc:creator><![CDATA[marcusquinn]]></dc:creator><pubDate>Tue, 01 Oct 2024 15:24:48 GMT</pubDate></item><item><title><![CDATA[Reply to Install/Set App locations to a subdirectory on Tue, 01 Oct 2024 08:55:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcusquinn" aria-label="Profile: marcusquinn">@<bdi>marcusquinn</bdi></a> said in <a href="/post/94940">Install/Set App locations to a subdirectory</a>:</p>
<blockquote>
<p dir="auto">I assume this can still be done manually by adding the above to the .htacccess file on one app to then alias a subdirectory to the subdomain URL of another app, since they are both on public URLs?</p>
</blockquote>
<p dir="auto">yes, correct, this should work.</p>
]]></description><link>https://forum.cloudron.io/post/94962</link><guid isPermaLink="true">https://forum.cloudron.io/post/94962</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 01 Oct 2024 08:55:19 GMT</pubDate></item><item><title><![CDATA[Reply to Install/Set App locations to a subdirectory on Mon, 30 Sep 2024 18:42:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> That's just all websites, if you have a compromised plugin, you have a compromised plugin, but in this case, that would only be some small footprint access to front-end data, not the separated app admins.</p>
<p dir="auto">They aren't exactly separate websites if running on the same domain, though, just using multiple instances of admin software to create different parts of the website.</p>
<p dir="auto">I assume this can still be done manually by adding the above to the .htacccess file on one app to then alias a subdirectory to the subdomain URL of another app, since they are both on public URLs?</p>
]]></description><link>https://forum.cloudron.io/post/94940</link><guid isPermaLink="true">https://forum.cloudron.io/post/94940</guid><dc:creator><![CDATA[marcusquinn]]></dc:creator><pubDate>Mon, 30 Sep 2024 18:42:26 GMT</pubDate></item><item><title><![CDATA[Reply to Install/Set App locations to a subdirectory on Mon, 30 Sep 2024 11:59:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcusquinn" aria-label="Profile: marcusquinn">@<bdi>marcusquinn</bdi></a> the leak happens on the browser side and not the backend side. For example, a plugin in /blog1 can now read the contents/cookies/session/localstorage of /blog2 . If a bad plugin is installed in blog1, then it compromises blog2 .</p>
<p dir="auto">But yeah, I agree that WP might benefit here. It's not a trivial feature to implement though.</p>
]]></description><link>https://forum.cloudron.io/post/94915</link><guid isPermaLink="true">https://forum.cloudron.io/post/94915</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 30 Sep 2024 11:59:43 GMT</pubDate></item><item><title><![CDATA[Reply to Install/Set App locations to a subdirectory on Mon, 30 Sep 2024 11:46:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> WordPress is designed to be installed in a subdirectory as an option, so no issue there. I'd be surprised if forum software hadn't also considered this as an option.</p>
<p dir="auto">Given the apps would remain in their respective separate containers, I can't see what issue there would be for leaking anything.</p>
<p dir="auto">Each app could still be on it's own subdomain, but the mod_proxy rule would be translating that for the public navigation and search engine indexing.</p>
<p dir="auto">From a business point of view for SEO, you're diluting the effectiveness of marketing efforts for every public subdomain, so the business decisions is made based on the decider knowing or caring about that extra cost in time and money, or missed opportunity from not understanding how search engine rankings work.</p>
<p dir="auto">Successes with subdomains might still happen despite these headwinds, but could have had tailwinds had they just chosen the path more valued by ranking algos.</p>
]]></description><link>https://forum.cloudron.io/post/94912</link><guid isPermaLink="true">https://forum.cloudron.io/post/94912</guid><dc:creator><![CDATA[marcusquinn]]></dc:creator><pubDate>Mon, 30 Sep 2024 11:46:18 GMT</pubDate></item><item><title><![CDATA[Reply to Install/Set App locations to a subdirectory on Mon, 30 Sep 2024 07:49:53 GMT]]></title><description><![CDATA[<p dir="auto">For Cloudron, we had looked into this when we started many years ago. It's unlikely to support subdirectory based installations. This causes various problems because cookies, local storage, indexdb etc as they are stored on the domain level and one has to be careful to not leak stuff across apps. This might work if you are in total control of the apps and limiting yourself to specific apps, but in a general level path based installations are not a good idea (for Cloudron). Maybe we have to look into new content protection for apps and things have changed now.</p>
]]></description><link>https://forum.cloudron.io/post/94893</link><guid isPermaLink="true">https://forum.cloudron.io/post/94893</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 30 Sep 2024 07:49:53 GMT</pubDate></item><item><title><![CDATA[Reply to Install/Set App locations to a subdirectory on Sun, 29 Sep 2024 23:19:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Hope you don't mind a mention to see if this is a quick win?</p>
<p dir="auto">There's significant SEO value to having all public content apps under a single main domain, as compared to sub-domains, where they are treated as if they are separate sites.</p>
]]></description><link>https://forum.cloudron.io/post/94883</link><guid isPermaLink="true">https://forum.cloudron.io/post/94883</guid><dc:creator><![CDATA[marcusquinn]]></dc:creator><pubDate>Sun, 29 Sep 2024 23:19:32 GMT</pubDate></item></channel></rss>