As mentioned in my previous posts, I migrated my WordPress blog to Discourse.
There was an HTML page on my site that was hosted inside a folder in
So, its URL was
Now, I want to host the same folder/page again, but with Discourse.
Where should I put this folder so that I get the same URL structure without breaking my Discourse site?
That’s tricky, because Ember/Rails would try to interpret that as an app route … which doesn’t exist.
I would step back if I were you and reconsider what you are ultimately,
functionally trying to achieve and see if there isn’t another way to go about it?
One option is to use this:
Page Publishing allows Staff/Admin users the ability to convert a topic into a static standalone page with support for custom styling. This is similar to the pattern in use for
Enable Page Publishing
Activate enable page publishing under Admin > Settings
Enable page publishing when login is required
Another option might be to host that page on a sub-domain, rather than a folder (and all that entails).
@merefield for your response.
Page publishing and subdomain won’t work. The only option other than hosting in the folder is hosting the folder on a new domain, which won’t be good for SEO as I won’t have all the authority of my actual domain.
Is there any way to fulfill my purpose using a plugin?
Well you can create a new route in a plugin and put whatever you want on it.
But a simple version of that will still run “inside” Discourse.
Take a look at my Word Cloud or Community Network plugin code to see how that is done.
You could also host it elsewhere and use a Cloudflare workers route to make it look like a folder within your forum.
I don’t know how to do that. Is there any guide for it? Please share
Did you have any luck with this?
@lowkey_324 what is it (specifically) that you want to accomplish?