-
Please helps me in speeding up.
-
Hello,
I’m sorry to hear that your XML Sitemap is loading slowly. One common reason for slow sitemap loading is insufficient server resources. To address this, you can check your server configurations by navigating to Tools → Site Health → Info in your WordPress dashboard. Compare the following requirements with your site values:
- PHP max input variables: 1000
- PHP time limit: 120
- PHP memory limit: 512M
- Max input time: 150
If your values are lower, you should contact your web host to increase them or consider upgrading your hosting plan for better resources.
If after checking and adjusting these settings you still face issues with the sitemap loading slowly, please open a new ticket here so our support staff can assist you further.
Thank you for reaching out!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Why the Sitemap_Index.xml is Throwing a 404 Error » Rank MathHello,
Thank you for your query and we are so sorry about the trouble this must have caused.
Your sitemaps seem to be loading just fine and when we visit a couple of sub-sitemaps, they don’t show any signs of delay.
Can you please share some logs from your server where the issue with the slowdown is specifically indicated? You may also share some screenshots or video screencast where the issue is happening. You may use any of these tools to share your screenshots/screencasts:
https://imgur.com/
https://loom.com/Also, for initial troubleshooting, please go to your sitemap settings and disable the option “Images in Sitemaps”. See if that significantly changes the situation.
Looking forward to helping you.
The sitemap takes 18 seconds to load as of now.
Ref: Video (https://drive.google.com/file/d/1u526CYzOLR9myiM8pIejpEA2_QvqPOYV/view?usp=sharing)
Hello,
Kindly go to your sitemap settings and disable the option “Images in Sitemaps” and see if that improves the situation.
Looking forward to helping you.
Before that I am sharing a report
This is without CF: https://drive.google.com/file/d/1xsAF24aox89NoE1Ez7KO06I_2AiCltxh/view?usp=sharing
One HSTS redirects makes sense, but after then there are multiple hops of redirect and finally it still takes 15 seconds which is more than my original report on that day it was taking 5-6 sec approx. While other users who uses Sitemap usually load in max 3 seconds, given they have so many posts.
Turned off XML Sitemap for Images
Ref: https://drive.google.com/file/d/1whICQwRcm5vavDfZfElbMkaTAN9vl3eU/view?usp=sharingAfter disabling Images Sitemap
https://drive.google.com/file/d/171pTSoNt-4XEcL22OfAqkpTdD_BwNf9j/view?usp=sharingIt should be noted that recently my sitemap was not loading, then I added a code as per instructions
# START of Rank Math Sitemap Rewrite Rules RewriteEngine On RewriteBase / RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L] RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L] RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L] # END of Rank Math Sitemap Rewrite Rules # BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Without content filtering, the file you shared highlights a single HSTS redirect, which seems reasonable. However, subsequent redirects seem excessive, leading to a prolonged loading time of around 15 seconds, significantly longer than your initial report of 5-6 seconds. Other users, even with extensive sitemaps, typically load within 3 seconds. It appears there may be inefficiencies or issues causing the delays, warranting further investigation to optimize performance and ensure a smoother user experience.
Hello,
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
I have made some changes at MySQL server end, it promptly resolved the issue.
Changing
innodb_buffer_pool_size
to same or more size as DB.Hello,
We are glad that you are able to resolve it.
Please do not hesitate to let us know if you need our assistance with anything else.
You must be logged in to reply to this ticket.