Neos 9: Remove .html extension

I have in my .yaml file

login:

      type: reference

      ui:

        label: 'Login Link'

        reloadIfChanged: true

        inspector:

          group: 'generalGroup'

          editorOptions:

            nodeTypes: ['Neos.Neos:Document']

In .fusion file I try

loginUri = Neos.Neos:NodeUri {

    node = ${q(node).property('login')}

    format = ''

  }

but when I call this url in frontend I see /login.html and not /login
I tried as in [SOLVED] Remove .html extension but it did not work. I also tried to Override it, but seems broken
prototype(Neos.Neos:NodeUri) {
format = ‘’
}

With Neos 9+ the uriPathSuffix is part of the Site Configuration

1 Like