How can i make it put /forum before all requests?
-
I want my site to be at sdfgsdfgsdgf.com/forum, how do I do this?
For example I want this:
<link rel="stylesheet" type="text/css" href="/assets/client.css?v=d5fbv7jt1og" /> <link rel="icon" type="image/x-icon" href="/assets/uploads/system/favicon.ico?v=d5fbv7jt1og" /> <link rel="manifest" href="/manifest.json" />
To load as this:
<link rel="stylesheet" type="text/css" href="/forums/assets/client.css?v=d5fbv7jt1og" /> <link rel="icon" type="image/x-icon" href="/forums/assets/uploads/system/favicon.ico?v=d5fbv7jt1og" /> <link rel="manifest" href="/forums/manifest.json" />
Are they hardcoded? So I could just edit the theme html?
-
@jim-bridger said in How can i make it put /forum before all requests?:
I want my site to be at sdfgsdfgsdgf.com/forum, how do I do this?
For example I want this:
<link rel="stylesheet" type="text/css" href="/assets/client.css?v=d5fbv7jt1og" />
<link rel="icon" type="image/x-icon" href="/assets/uploads/system/favicon.ico?v=d5fbv7jt1og" />
<link rel="manifest" href="/manifest.json" />To load as this:
<link rel="stylesheet" type="text/css" href="/forums/assets/client.css?v=d5fbv7jt1og" />
<link rel="icon" type="image/x-icon" href="/forums/assets/uploads/system/favicon.ico?v=d5fbv7jt1og" />
<link rel="manifest" href="/forums/manifest.json" />Are they hardcoded? So I could just edit the theme html?
As far as I understood your question, you should install your NodeBB forum as a subfolder...
I do not think you can change it afterwards. You can check these two topics:
https://community.nodebb.org/topic/668/installing-nodebb-in-a-subfolder-of-another-site
-
@jim-bridger you need to change the URL value in config.json to include
/forum
-
i ended up reinstalling it and putting the /forum in on setup and it worked