Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Conflict between Element Connection and SEOmatic sitemap settings #510

Closed
strandofgenius opened this issue Nov 18, 2022 · 0 comments
Closed
Labels
issue Something isn't working correctly

Comments

@strandofgenius
Copy link

Queue jobs are running to generate a sitemap when an entry type has public URLs but the sitemap setting is set to disabled in the SEOmatic content SEO settings.

This only happens when someone fills out the form from the front end of the site and the Element Connection is made between Freeform and creating an entry.

The sitemap does not get added to sitemap.xml but it is going through a process to generate it. This is unnecessary and it seems to get stuck from time to time and bogs things down. This especially becomes problematic since the client has thousands of leads in the system and each time a lead fills out the form it creates a new job to generate the sitemap again.

Here is the initial discussion about this issue: nystudio107/craft-seomatic#1212

Steps to reproduce

  1. Create an entry type with a URI format and template
  2. Go to SEOmatic > Content SEO > Entry Type > Sitemap settings
  3. Disable all toggles related to the sitemap
  4. Fill out the form
  5. Entry is created via Freeform Element Connection Event
  6. Queue appears to create a job to generate a sitemap for the entry type

Expected behavior
It is expected that because the entry type sitemap setting is disabled it would not create a queue job to generate a sitemap.

Craft & Plugin Info (please complete the following information):

  • Craft Version: 3.7.53.1
  • Freeform Version: 3.13.18
  • Freeform Edition: Pro
  • SEOmatic Version: 3.4.37
  • Fresh Install or Upgrade: N/A
@strandofgenius strandofgenius added the issue Something isn't working correctly label Nov 18, 2022
@solspace solspace locked and limited conversation to collaborators Dec 12, 2022
@kjmartens kjmartens converted this issue into discussion #546 Dec 12, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
issue Something isn't working correctly
Development

No branches or pull requests

1 participant