Hello,
I’m sorry to hear about the issue you are facing with Rank Math and Weglot on your website newlebadaresort.com. It seems that the sitemap for the second language https://rankmath.com/kb/indexed-though-blocked-by-robots-txt-error/ is not being created, and Google Console is returning an error stating that the page is blocked by robots.txt.
To address this issue, you can follow these steps:
-
Check Sitemap Generation: Ensure that the sitemap for the second language is being generated correctly by Rank Math. You can check this by going to https://rankmath.com/kb/indexed-though-blocked-by-robots-txt-error/sitemap_index.xml.
-
Weglot Configuration: Verify the configuration settings in Weglot to ensure that it is not blocking the sitemap generation for the second language.
-
Robots.txt Inspection: Review the robots.txt file to confirm that it is not inadvertently blocking the sitemap for the second language. You can use tools like Google’s Webmaster Tools to help manage and update your robots.txt file easily.
If the issue persists after checking these steps, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Best regards,
Rank Math Support Team
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
No Information is Available for This Page » Rank Math
How to Fix ‘Blocked by robots.txt’ Error in Google Search Console » Rank Math
How to Fix the "Indexed, though blocked by robots.txt" Error » Rank Math
hello, still the same issue 🙁
and cannot use rankmath on pages created with weglot 🙁
Hello,
Thank you for reaching out to Rank Math and for bringing your concern to our attention. We apologize for any inconvenience this issue may have caused you.
Please be aware that Rank Math typically only deals with adding the default language to your sitemap. Other languages are automatically handled by the translation plugin you use, which adds a hreflang to each page, letting Google know that it is a translated version of another page.
It is not necessary to have the translated pages in your sitemap. This is perfectly acceptable and in line with Google’s guidelines:
https://developers.google.com/search/docs/advanced/crawling/localized-versions
However, if you still wish to do so, you can follow this guide to create a custom sitemap: https://rankmath.com/kb/custom-sitemaps/
Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.
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.