-
Notifications
You must be signed in to change notification settings - Fork 134
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
Comments
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:
Can you please verify for me that your sitemap is still broken with the above settings? |
@ChrisWiegman Sorry for the late reply. I am facing this issue once again, but have very much narrowed it down. My sitemaps only seem to break when I add a new post or custom post type post. Other than that, they work correctly and as expected based on the faust.js sitemaps documentation. I have an example up and running on our dev DB - let me know if there is a secure way to send it to you. In regards to front-end URL and permalinks: |
Hey @ariel-integrity, Could you please clarify what you mean by “the sitemap breaks”? For example, is it producing invalid XML, are you getting a 404 error, or something else? The more details you can provide, the better we’ll be able to assist you. Just a heads-up, ChrisWiegman is no longer working on this project. |
@josephfusco Thanks for the quick update. In regards to the specific sitemap error, I get a connection timeout. Never loads. |
Hey @ariel-integrity, just wanted to provide an update that I have a proposed solution available here. I was able to test it using RankMath and it seems like a viable solution. Would love to know your thoughts if you're willing & able test it out! I will update this issue once a new release is cut for @faustwp/core. 🙌🏼 |
Hey @ariel-integrity, a new version of @faustwp/core has been released containing the new configuration option! 🎉 Steps to resolve a broken sitemap when using RankMath sitemaps
|
Hi @josephfusco Thanks so much for your work on this! I had a chance to implement it on my site at sitemap_index.xml. I have an issue now where the child maps are listed as: instead of Any chance you are able to recreate and help me solve? Thanks, |
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.
The text was updated successfully, but these errors were encountered: