Skip to content

Statamic v6 Support #394

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Statamic v6 Support #394

wants to merge 2 commits into from

Conversation

jesseleite
Copy link
Member

@jesseleite jesseleite commented Jul 18, 2025

TODO:

* Add config to enforce trailing slashes on sitemap.

* Handle sitemap config.

* Fix `home_url` trailing slash in generated meta.

* Make config a bit more generic.

* Add trailing slash test coverage for URLs in sitemap.

* Add missing test coverage for `next_url`and `prev_url`.

* Add test coverage to ensure trailing slashes are output in meta cascade

* Implement trailing slashes in cascade.

* Pass failing tests around trailing slash on canonical.

* Add coverage to ensure trailing slashes go back to how user had them pre-cascade.

* Pass all tests again.

* Temporary constraint for CI, since v6 is on master atm.

* Exact version.

* Tighten constraints more.

* Drop old PHP/Laravel versions from test matrix because Statamic v6 does.

* Kick test suite.

* More updates to test matrix.

* This PR in core isn't merged yet.

* Revert `urls.enforce_trailing_slashes` config on SEO Pro side, as discussed.

We think most use cases revolve around use cases like Netlify/etc., so it's probable that the user then wants trailing slashes on all URLs, not just in SEO meta/sitemap. The fact that we were turning it on and off, could end up generating inaccurate stache. We can revisit later if this is needed.

* This test is really only concerned with pagination.

* Add basic test coverage for the actual generated meta.

* Add note in documentation.
@jesseleite jesseleite marked this pull request as draft July 18, 2025 17:09
@jesseleite jesseleite self-assigned this Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant