For SEO purposes, I need to make sure that all URLs are saved as lowercase.
How do I get the SilverStripe administrator to keep the URL lowercase, even if the user enters a permalink in upper case?
You can do this in your method Page onBeforeWrite:
Page
onBeforeWrite
protected function onBeforeWrite() { parent::onBeforeWrite(); //this is important! $this->URLSegment = strtolower($this->URLSegment); }
See API Docs
Source: https://habr.com/ru/post/1612942/More articles:How to find "paired characters" in perl? - perlRxJS: highlight one click with a mouse - javascriptУдаление HTML-тегов без /text (). Extract() - pythonDjango Admin NonExistentTimeError in date_hierarchy - pythonhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1612941/how-can-i-determine-which-pull-request-a-commit-belongs-to-using-the-github-api&usg=ALkJrhhl1lwl1RvtGAsZpONdOhcw0BhNnAError loading tvOS application. - tvosAutomatic Download Word Task Pane Office Add-in - ms-wordUsing Python Safe Pickle - pythonWhy isKindOfClass: Nil returns YES on __NSCFConstantString? - objective-chttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1612947/how-to-send-keys-to-the-element-in-focus&usg=ALkJrhgUQDd09zB0Rkgh39HBNc52MeLK2AAll Articles