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

Sitemaps.xml breaks upon updates made in RankMath #1885

Open
1 task done
ariel-integrity opened this issue May 10, 2024 · 1 comment
Open
1 task done

Sitemaps.xml breaks upon updates made in RankMath #1885

ariel-integrity opened this issue May 10, 2024 · 1 comment

Comments

@ariel-integrity
Copy link

Description

I'm using the suggested solution in the faust.js docs to create a sitemap for my headless site.

The only issue I've had is that when I make sitemap updates in the RankMath settings, it breaks my CPT sitemaps.

However, if I turn the faust.js plugin off, clear cache, and turn it back on, they work. But in the meantime, I get errors on pages due to faust.js being turned off. Need a solution where I can skip that step.

Steps to reproduce

Set up a sitemaps.xml doc in a faust.js project.

Install RankMath and turn on the sitemap generator. Update the settings to include/not include a CPT.

See that those sitemaps, and maybe the posts/pages, break. Turn off faust.js, clear cache, and turn it back on. They work!

Additional context

Site is up in an Atlas environment.

@faustwp/core Version

1.2.0

@faustwp/cli Version

1.2.1

FaustWP Plugin Version

1.2.3

WordPress Version

6.5.2

Additional environment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes
@ChrisWiegman
Copy link
Contributor

Hello @ariel-integrity!

My apologies for the late reply here. I've attempted to reproduce the issue with the free version of Rankmath and have been unable to do so.

A few things you might want to check:

  1. Verify the front-end URL env variable is set correctly in sitemap.xml.js.
  2. Ensure your permalinks are not set to Plain.

Can you please verify for me that your sitemap is still broken with the above settings?

@ChrisWiegman ChrisWiegman removed their assignment Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants