Technical Tip: How to configure URL Rewrite Rule Policy in FortiWeb to redirect root directory URL to sub-directory URL
| Description | This article describes the steps to use the rewrite rule in FortiWeb to redirect root directory URL to subdirectory URL. |
| Scope | FortiWeb. |
| Solution | Prerequisites:
There are cases where a landing page which initially places at the root directory of a domain website, and users wish to migrate to a sub-directory of the domain website. Using the URL Rewrite rule, redirect the HTTP request from the root directory to the sub-directory URL.
Object: HTTP Host Regular Expression: (.*) *Regular expression to match HTTP requests with any hostname.
Object: HTTP URL Regular Expression: ^/$ *Regular expression to match HTTP requests URL of root directory only.
Related document: |








