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:
Installing NodeBB in a subfolder of another site
The guide given here is for installing NodeBB in a subdomain. What will be the changes that need to be made so that it can be accessed from a subfolder, like...
NodeBB Community (community.nodebb.org)
Installation
Hi, I am trying to install nodebb on my server. I am on step where I run: node app --setup Docs that I found say: Finally, we can run NodeBB: psychobunny@myn...
NodeBB Community (community.nodebb.org)
-
@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