Skip to content
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

Content SEO tab not updating with Section and Entry Type changes #1571

Open
stevehurst opened this issue Feb 20, 2025 · 3 comments
Open

Content SEO tab not updating with Section and Entry Type changes #1571

stevehurst opened this issue Feb 20, 2025 · 3 comments
Labels

Comments

@stevehurst
Copy link

stevehurst commented Feb 20, 2025

Describe the bug

After making local Section and Entry Type changes and pushing to production, my Content SEO tab's Sections don't match updates made to Section names and handles, and new Entry Types assigned to Sections aren't showing up under the Section's Content SEO settings as an Entry Type dropdown.

To reproduce

Steps to reproduce the behaviour:

  1. Update Section and Entry Type settings locally
  2. Commit changes, including project config updates
  3. Push to production
  4. Run Craft command line series on production to update to commited changes:
php craft update/composer-install
php craft migrate/all
php craft project-config/apply
php craft clear-caches/all
  1. Check Content SEO on production, no changes
  2. Pull down DB and restore to local
  3. Make changes to Sections and Entry Types
  4. Check Content SEO locally, no changes

Expected behaviour

I expect Content SEO to match my Section and Entry Type configurations.

Versions

  • Plugin version: SEOmatic 5.1.11
  • Craft version: Craft Team 5.6.8
@stevehurst stevehurst added the bug label Feb 20, 2025
@stevehurst
Copy link
Author

Adding new Sections and deleting them seems to work and update Content SEO. But editing any existing Sections does not.

@astuteo
Copy link

astuteo commented Feb 21, 2025

Same issue for me with:

Plugin version: SEOmatic 5.1.11
Craft version: Craft Pro 5.6.4

@stevehurst I did find a hack to solve this. If you browse to the old section under "Content SEO" and change the appropriate URL slug to the new section name, it will pull up and you can save it. Upon save, the old disappears and the new one exists.

For example, on this url, I changed the resourcesIndex slug to the new section name: https://yoursite.com/admin/seomatic/edit-content/general/section/resourcesIndex/default

@stevehurst
Copy link
Author

@astuteo great hack, that worked on my end for the section that was completely changed and was the big issue. The Section Name is still not updating on some of my other sections that had simple name changes.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants