-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUGFIX: Make URI suffix configurable for the ESFrontendNode RoutePart #5224
Conversation
Looks like a duplicate of #5189 |
yes, but without the other changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good ;)
it seems this got just lost in the rewrite.
In Neos 8 it looked like such:
neos-development-collection/Neos.Neos/Classes/Routing/FrontendNodeRoutePartHandler.php
Line 296 in 072186e
protected function truncateUriPathSuffix(string $uriPath) |
We were only using the options as it was only a single cr and we configured the default via defaultUriSuffix
globally.
But this is only half of the fix!!! in 8.3 we also have other options aside from
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see above, its only 50% of the rent ...
we ignored onlyMatchSiteNodes for now because my-site/some-path/robots.txt does not 404 as expected but does not lie either. It would require a larger effort to implement it and is postponed to later As with suffix vs. CR: we discussed this and came to the conclusion that we are fine with global overrides on route level for now, as CR specific overrides are no requirement yet. This as well can be added later if necessary. In conclusion: This change is already sufficient for Neos.Seo 4.1.4 |
Perfekt, i just wanted it to bring that to attention. Then lets have it. Fine by reading ;) |
This makes the uri suffix (e.g. .html) configurable on route (part) level, which is essential for Neos.SEO's XML sitemap and robots.txt as well as custom formats for rendering nodes as pdf etc.
Upgrade instructions
none
Review instructions
none
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions