-
Print
-
DarkLight
-
PDF
Example premise
Important: Replace the example domain with your own document360 provided domain/custom domain.
- Example domain represented using
example.document360.io
and the subfolder/subdirectory path (/docs) asexample.document360.io/docs
To set up a sub folder path
- Install the ASP.Net Core package
- In the
Standard.cs
file, configure themethod
as follows:
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
/// ...
app.MapWhen(ctx => ctx.Request.Path.StartsWithSegments("/docs"),
builder => builder.RunProxy(new ProxyOptions() {
Scheme = "https",
Host="example.document360.io"
}));
/// ...
What happens next?
Once you have successfully configured the web server, your knowledge base site is now live on your custom subfolder/subdirectory. However, the existing URL for your project will serve the requests.
For example,
example.document360.io
andexample.com/docs
(if/docs
is your folder path) will point to the knowledge base site.
This will cause duplicate content in Search engines (Google, Bing, etc.). For this, you will need to enable a URL redirect.
To enable the redirect from example.document360.io
to example.com/docs
, please contact us at support@document360.com.