ello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
You seem to be using Litespeed cache, please head over to cache plugin > Cache > Exclude and set to exclude your sitemap URLs from caching and purge your site cache then do the following:
1. Head over to WordPress Dashboard > Settings > Permalinks
Hit the save button once.
2. Go to WordPress Dashboard > Rank Math > Sitemap Settings
Hit the save button once.
That should fix the issue.
You can then resubmit your main sitemap in your GSC.
If the issue persists, please do let us know so we can look at this further.
sir, i am a beginner and i don’t know much about WordPress. Tho i do understand that you are asking me to exclude my sitemap URLs from caching and i know where to do it but i don’t understand how to do it.
Since i am using the simple sitemap that only index my all posts, categories and pages. i can see the settings to exclude them but i don’t how to put the URLs there. I am sending the screenshots. please tell me how do i put the URLs to exclude them.
Do i just have to give all the URLs but it doesn’t make any sense. So, i guess you can only help me.
The exclude section of the lightspeed plugin has some guidelines to put the URLs on the settings. please view the photos and help me to understand them. or i can make you a ID for my WordPress, you can do it please. Thank you.
please check these two images
https://ibb.co/GWSs0BF
https://ibb.co/cQFSjBJ
Hello,
We would love to assist.
In this field:
The add the following fields in there, one per line:
sitemap_index.xml
post-sitemap.xml
page-sitemap.xml
category-sitemap.xml
product-sitemap.xml
Feel free to add any other sitemaps available in your sitemap_index.xml file.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Last time i did the same as you have said and it fixed the problem. I resubmitted my sitemap and all of it was working well, until, i have noticed yesterday that the error has again appeared on the search console again. The same error saying Html tag. What do I do?
Also, let you know that I purged my caches from lightspeed cache and once clicked on the save button on the Rankmath sitemap setting and tried resubmitting my sitemap. Now it is not showing any error to my main sitemap but there is the same error on my Category_sitemap URL. Here is screenshot of the error. What do I do? Why is it causing so many issues? Tell me a permanent solution, please.
Here are the link of the screenshots-
https://ibb.co/Sr4XVZS
https://ibb.co/6DqJXPk
https://ibb.co/sF554kK
Hello,
Could you please also add the following in the list of excluded URLs:
/main-sitemap.xsl
Looking forward to helping you. Thank you.
​​​​​​
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.