I don't understand anything about IIS, but am trying to solve this problem of redirecting all visitors to example.com/page
to example.com/page.html
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.webServer>
<rewrite>
<rewriteMaps>
<rewriteMap name="StaticRedirects">
<add key="/page" value="/page.html" />
</rewriteMap>
</rewriteMaps>
</rewrite>
</system.webServer>
</configuration>
A couple of problems arise:
- I don't know where to even put the file. There is a User root directory, and an htdocs directory, I tried both, no joy.
- I don't even know if the account can do rewrites, I am trying to find that out.