-
Hey, my sitemap have stopped working there is no php code it’s all white.
-
Hello,
We apologize for the issue you are facing with your sitemap showing a white page. This can happen for a few reasons, even if there is no PHP code visible. Here are some steps you can take to troubleshoot and potentially resolve the issue:
-
Check the Source Code: First, check the source code of the sitemap page to see if there is any data present. You can do this by right-clicking on the page and selecting "View Page Source". If the source code is empty, it indicates a conflict with another plugin or theme.
-
Use the Health Check Plugin: To identify if there is a conflict with another plugin or theme, you can use the Health Check plugin. This tool allows you to troubleshoot without affecting your visitors.
-
Flush Sitemap Cache: If there is data in the source code but it still appears blank on the front end, try flushing the sitemap cache and ensure that it is excluded from any caching plugins you may be using. You can find more information on how to do this here.
-
Check for Static Files: Ensure that there are no static files named
sitemap_index.xml
on your server. If such a file exists, it could interfere with the dynamic sitemap generation. -
Custom Code: If none of the above solutions work, you might need to add custom code to your
rank-math.php
file from your theme files. You can refer to our guide on how to add a filter/hook to your site for assistance.
If you continue to experience issues, please reply to this ticket with your site URL so that a human agent from our support team can assist you further.
Thank you for raising this concern!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank MathThis is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.
Hey, I have tried the above solutions and none of them helped.
Hello,
Thank you for contacting us. We apologize for any inconvenience that may have been caused.
Please try to follow the steps below and see if that works for you.
1. Flush the Sitemap cache by following this video screencast: https://i.rankmath.com/pipRDp
2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article: https://rankmath.com/kb/exclude-sitemaps-from-caching/
3. If the above steps don’t seem to work, kindly apply the following filter to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add a filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/Once done, clear your website cache and check the sitemap again.
Let us know how it goes. We look forward to hearing from you.
Thank you.
Hey,
I have done all things you mentioned above and none of them are working. I have included a login in sensitive data.
Hello,
This issue is occurring because in your database entries, there are some Unicode characters that are preventing the sitemap from loading correctly.
The title Webbplatskarta för platser – Svea F&
ouml;
rsä
kring, where it should beö
andä
.Please access your WordPress database and check the table
wp_options
. You’ll notice entries like blogname with Unicode characters instead of the correct characters in there.If you need assistance accessing your database, you may get in touch with your web host.
Once done, flush your sitemap cache and check again.
Looking forward to helping you.
Hey,
I found them what they should be changed to?
https://imgur.com/a/5mf9S0CHello,
You can replace the letters as follows:
With the Swedish equivalent
ä → ae ö → oe
OR
With the English equivalent:
ä → a ö → o
Let us know how it goes. We look forward to hearing from you.
Thank you.
Hey,
That breaks my site. I can’t no longer access it as the real domain that i have contains Ö and Ä.
Hello,
Sorry for the confusion.
It seems you have replaced these letters in the
siteurl
andhome
.However, the letters should only be replaced in the
blogname
andblogdescription
entries as shown below:Let us know how it goes. We look forward to hearing from you.
Thank you.
Hey,
Thanks that fixed it. The changes that wore made how does that effect the site. I am thinking from a SEO perspektive?
Hello,
We are glad to hear that the changes resolved the issue.
Regarding your question, replacing the characters in blogname and blogdescription should not negatively impact your site from an SEO perspective. These entries are mostly used for internal references and won’t affect your site’s public-facing content or rankings. Your actual domain name with the ö and ä will remain unchanged and continue to work properly for SEO.
If you have any further concerns or need more help, feel free to reach out.
-
You must be logged in to reply to this ticket.