Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.www.ads-software.com/Debugging_in_WordPress
You can also try this: Please attempt to disable all plugins (except Yoast), and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you cannot access wp-admin, there are other ways to deactivate plugins.
]]>Even i have tried installing google xml sitemap to view my sitemap urls but that is also showing blank.
I am using manage wordpress site so is it possible checking log files on my server?sorry for the lame question but i have basic knowledge of wordpress only!
]]>I am getting this error I contacted my hosting service they resolved the issue but my debug.log file still showing these errors & my sitemap is still blank. Please help me resolving it I am really worried!
]]>I see you still have Yoast installed, so I think they’d be the best folks to figure this out. https://www.ads-software.com/support/plugin/wordpress-seo
]]>A quick way to confirm this is to activate Yoast SEO and go to the non-pretty permalink: https://torchindark.co.in/?sitemap=1
If that loads a sitemap, the function is working but something on the server prevents the redirect from that non-pretty permalink to the pretty permalink of sitemap_index.xml
There are a few more less common causes explained here: https://kb.yoast.com/kb/my-sitemap-is-blank-what-s-wrong/
]]># BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress