closing tags ?>
Hello, I discovered in some theme files that there isno closing tags and there are also spaces at the end, because ofthis the Rank Math SEO module cannot generate an XML sitemap, I manually corrected this (RMSEO support suggested the reason)
Comments
Hi,
Can you provide more detail as to what exactly you refer to, please?
If you can tell me which file does not have closed tags, we will correct that.
Best regards
Hi, I can't tell you exactly, I checked the header files etc.
here are their instructions that they provide https://wejn.org/stuff/wejnswpwhitespacefix.php.html
The point is that the Rank Math plugin cannot generate an XML sitemap if there are unclosed tags or spaces. For some reason I had this in some theme files, having corrected this, the module began to generate an XML sitemap.
Do you not remember which files you edited?
We do not see any unclosed tags in our theme files, so we do not know what you refer to.
Best regards
I put the topic in a clean place, so it couldn’t be edited in any way, the same situation happened when I put this topic on another site, I just shared the information with you.
Of course, I opened all the files one by one and looked, corrected extra spaces if there were any, there was a tag somewhere.
that's all.
If we find anything, we will correct it.
Best regards