Converting to Subfolder

(Andy Rothfusz) #1

If I have an existing Discourse and would like to move it to a subfolder, what steps do I need to take to keep my existing articles/topics/etc?

I’m comfortable with external links breaking because topics moved from to But will internal links break? Should I expect anything else to break and are there steps to fix these things? Or does moving to a subfolder require a fresh start?

(Andy Rothfusz) #3

The solution proposed by Sam is to re-bake (re-render the HTML) on all the posts. According to How to re-generate all topics? this can be done by:

cd /var/discourse
./launcher enter app
rake posts:rebake