We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a68df3e commit 203db2eCopy full SHA for 203db2e
redirects.conf
@@ -4,13 +4,9 @@
4
rewrite ^/blazor-ui/$
5
/blazor-ui/introduction
6
permanent;
7
-
8
-rewrite ^/blazor-ui/knowledge-base$
9
- /blazor-ui/knowledge-base.html
10
- permanent;
11
12
rewrite ^/blazor-ui/api/$
13
- /blazor-ui/api/index.html
+ /blazor-ui/api/index
14
15
16
rewrite ^/blazor/(.*)$
@@ -35,3 +31,10 @@ rewrite ^/blazor-ui/{{ directory.path }}/?$
35
31
/blazor-ui/{{ directory.url }}
36
32
redirect;
37
33
{% endfor %}
34
+
+##
+# Remove HTML extension so all pages only have 1 URL
38
+rewrite ^(/.*)\.html(\?.*)?$
39
+ $1$2
40
+ permanent;
0 commit comments