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

Sitemap management tools needed. #56

Open
BigBlockStudios opened this issue Mar 22, 2022 · 1 comment
Open

Sitemap management tools needed. #56

BigBlockStudios opened this issue Mar 22, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@BigBlockStudios
Copy link

It appears that the "Include this page in the sitemap?" is on by default, but pages do not show up in the sitemap unless you open and save that resource after the SEOSuite has been installed. This would be a grand pain for sites with more than 20/4/050++ pages.

ALSO

Once a page has been added to the sitemaps - if you disable the SEOSuite on the template that generates that page - there is no way to remove it from the sitemap, unless you enable the suite, edit the page then disable the suite again. (or delete it from the seosuite_resource table)

Managing sitemap preferences, frequencies & priorities on a page by page basis is extremely cumbersome - A sitemap management tool is really needed under the Extras->Seo Suite section.

@ilyautkin ilyautkin added the enhancement New feature or request label Aug 16, 2023
@arjen-t
Copy link

arjen-t commented Apr 9, 2024

In case someone faces the same problem, like I did. See bulk SQL query to fix this issue manually.

INSERT INTO `modx_seosuite_resource` (keywords, resource_id, use_default_meta, meta_title, meta_description, index_type, follow_type, sitemap, sitemap_prio, sitemap_changefreq, canonical, canonical_uri, editedon)
SELECT '', `id`, 1, '[]', '[]', 1, 1, 1, 'normal', 'weekly', 0, '', NULL
FROM `modx_site_content`
WHERE `id` NOT IN(SELECT `resource_id` from `modx_seosuite_resource`);

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

No branches or pull requests

3 participants