jonroberts
07/25/2023, 4:02 PMJason
07/25/2023, 4:37 PMxml
<rule name="Redirect to canonical url">
<match url="^(.+)" /> <!-- rule back-reference is captured here -->
<conditions>
<!-- Check whether the requested domain is in canonical form -->
<add input="{HTTP_HOST}" type="Pattern" pattern="^www\.mysite\.com$" negate="true" />
</conditions>
<!-- Redirect to canonical url and convert URL path to lowercase -->
<action type="Redirect" url="http://www.mysite.com/{ToLower:{R:1}}" redirectType="Found" />
</rule>
Jason
07/25/2023, 4:39 PMMike Chambers
07/26/2023, 9:38 AM^umbraco/
?Sebastiaan
07/26/2023, 10:54 AM.Url()
etc syntax, which will format it some way. The casing does not change unless someone manually changes it. Indexing will happen with the casing on the page, so whatever Umbraco outputs.
I know some overly zealous SEO people love to advise this, but I feel that's mostly fearmongering and leads to more problems than it solves.
Maybe I'm missing the point completely, so if there's another reason then I'd be happy to learn what it is.Jason
07/27/2023, 10:31 AM