Microsoft - IIS server
  • 17 May 2022
  • 1 Minute zum Lesen
  • Mitwirkende
  • Dunkel
    Licht
  • pdf

Microsoft - IIS server

  • Dunkel
    Licht
  • pdf

There is no German content available for this article, You are viewing the fallback version (English).

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) as example.document360.io/docs

To set up a sub folder path

  1. Install the URL Rewrite module for IIS Server

  2. Install the Application Request Routing module, and ensure it is enabled

  3. Add the following rewrite rule in web.config to rewrite contents from your documentation at /docs

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="rewrite">
                    <match url="^docs(/.*)?" />
                    <action type="Rewrite" url="https://example.document360.io/docs{R:1}" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

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 and example.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.


War dieser Artikel hilfreich?