-
Dear Rankmath Team,
I’m facing 1 more issue since 2 months (I try by re submit sitemap but not found solution) can you please help me out, again?
On my sitemap inside sitemap not crawling (posts, page .XML ) even there is no error.
See attached screenshot
-
Website url. https://bestgasstoves.in
Hello,
Thank you for contacting Rank Math, and sorry for any inconvenience caused.
Please add this filter to your website:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here is a guide you can follow to add the filter:
https://rankmath.com/kb/wordpress-hooks-actions-filters/Once done, clear your website cache, remove all the sitemaps from the Search Console and submit only
sitemap_index.xml
again, then, wait for Google to recrawl the sitemap.Hope this helps.
Thank you.
Hi,
I done with method 1 (via plugin)
And cleared WP rocket cache & remove sitemap and again submit.Now, around 40 minutes, Same issue
https://pasteboard.co/Xxth0J3zwwS8.jpg
Even, I disabled sitemap for catching from Wp rocket as well.
Please help me out
Hello,
All of your 4 sitemap URL variations doesn’t redirect to a final variation as you can see in my screenshot below:
Please follow this guide and redirect to a final variation:
https://rankmath.com/kb/couldnt-fetch-error-google-search-console/#num-5-4-redirect-all-three-other-versions-to-your-preferred-variationOnce done, clear your website cache and try submitting your sitemap to your Google Search Console again. See if this resolves the issue.
Looking forward to hearing an update from you. Thank you.
Hello Rankmath Staff,
I followed all your steps and everything but can please tell me how to 301 redirect sitemap (child sitemap)?
Ex- you send me image 200 & you said for 301
And Even on Rankmath sitemap is also same 200 (you can see by entering on same url)?
How do I redirect from 200 to 301?
Please help me!
Thanks
Please update
Hello,
All sitemaps URL variations should be redirected to only one variation.
Depending on your server, there’s a different way of setting this up. Kindly refer to the guides below:
Apache: https://www.hostinger.com/tutorials/cpanel/how-to-redirect-non-www-urls-to-www
If you still aren’t sure about this, I would suggest asking your hosting provider to configure this for you as they are in the best position to do it.
Let us know how that goes. Looking forward to helping you.
I already did that at the time of website installation
Take a look on
http://bestgasstoves.in, http://www.bestgasstoves.in,
https://www.bestgasstoves.in,To this
https://pasteboard.co/Xxth0J3zwwS8.jpg
Now, What I’ve to do?
I’ve 5 more sites and not facing any these issues like
??
Hello,
The guides shared by my colleague can be followed to redirect the variations of the sitemap to the preferred variation.
If you’re unsure, please reach out to your web host as they would be in a better position to assist you.
Once done, flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDpAnd clear your website’s cache and remove all the sitemaps from your Google Search Console account, and then submit only the main sitemap:
/sitemap_index.xml
Further, give Google some time to crawl your website again and see if that helps.
Let us know how that goes.
Thank you.
Why need to redirect on www from non www?
I already did that to keep main url https://bestgasstoves.in
No www in my url since 3 years
Hello,
Thank you for your patience as we troubleshoot your sitemap issue.
Please note that the general redirect rules applied to the rest of your website are not working on your sitemaps. You can check by visiting any of the versions below:
http://www.bestgasstoves.in/sitemap_index.xml
http://bestgasstoves.in/sitemap_index.xml
https://bestgasstoves.in/sitemap_index.xml
https://www.bestgasstoves.in/sitemap_index.xmlTo fix this you will need to apply another redirect rule for sitemaps. Please follow the guide linked in the previous reply. You can ask your host for help.
Once the redirect is working, delete all the sitemaps from your GSC and submit only the sitemap_index.xml link.
Hope that helps. Please let us know if you have questions.
Please help
Hello,
Thanks for your response.
I added redirection code in my htaccess file
Thats
#——————————————————————————–
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\. [OR]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://bestgasstoves.in/$1 [R=301,L]
#——————————————————————————-I cleared all cache and submit sitemap again
Still same issues
https://pasteboard.co/Xxth0J3zwwS8.jpg
Please help me out
Hello Rankmath Staff,
This month I planned to Upgrade in Rankmath Premium but Now I’m thinking to go with Yoast premium.
Whatever you said, I followed and did all steps.
Redirect website to main url added.
Caching clear and re submit sitemapNow, When I’m checking in httpstaus.io
I found this issue
All Rankmath child sitemap (status code 200)
But
This post Sitemap (status code is error)
https://bestgasstoves.in/post-sitemap.xml (error status code)
See in image
https://pasteboard.co/et9lB4mfzt9v.jpg
—–
https://bestgasstoves.in/sitemap_index.xml (200) status
https://bestgasstoves.in/page-sitemap.xml (200 status code)
https://bestgasstoves.in/makestories_story-sitemap.xml (200 status code)
https://bestgasstoves.in/web-story-sitemap.xml (200 status code)
https://bestgasstoves.in/category-sitemap.xml (200 status code)
—-
Even, I contacted with my A2hosting support they said This issue comes from Rankmath plugin
Please help me out🙏
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.
The ticket ‘Child Sitemap not read in GSC’ is closed to new replies.