Robots.txt error

#113200
  • Resolved Gungl Ákos
    Rank Math free

    Hi!

    After i installed the new plugin and modified some site on my web, i became errors.

    1. i dont see the robots.txt menu in the rankmath/general
    2. the google search console give this error:

    Failed to fetch robots.txt file
    You have a robots.txt file that we are unable to retrieve at this time. In this case, we’ll stop crawling your site until we have a robots.txt file or return to the most recent robots.txt file. Further information.

    This is my current robots.txt:

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php

    Sitemap: https://sterilotthon.hu/sitemap_index.xml

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Please enable Advanced Mode to access the Robot.txt editor as shown on this screencast:
    https://i.rankmath.com/sjk8io

    Please note that this will not work if you have robot.txt file present in your root folder so you need to delete it for Rank Math to generate a virtual robot.txt.

    If these steps still didn’t solve your issue regarding the “Failed to fetch robots.txt file” error, 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.
    Sensitive Data Section

    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.

    THX!

    The robots.txt working fine! But google still not indexing this 3 pages…

    robot.txt working, but i still have this error:
    There was a crawl problem with the URL you submitted. i became this error from 21.10.2020. On this date i made some small changes on my sites….

    TY for your help!!

    robot.txt working, but i still have this error:
    There was a crawl problem with the URL you submitted. i became this error from 21.10.2020. On this date i made some small changes on my sites….

    Hello,

    We are glad the first issue is resolved.

    I checked your URLs with this tool: https://technicalseo.com/tools/robots-txt/ and all seems fine from my end.

    Could you please head to your GSC, click on the URLs and validate them again? This will make Google crawl them again and if the issue still persists, please let us know.

    Looking forward to helping you. Thank you.

    i see this in GSC:

    – the sitemap is valid, find 10 URL…but whe i click on “view indexing coverage”
    – 3 url is wrong: “There was a crawl problem with the URL you submitted”

    If i checked this 3 url, i became this:
    URL is missing from Google: indexing errors
    It may not appear in Google Search results until it has been indexed. Further information
    Has the page changed?
    There was a crawl problem with the URL you submitted

    the page was changed on oktober 20., and from oct.21. became this error…

    BUT when i clicked on real-time testing, all ok, and green:

    The URL is provided by Google
    If indexed or set as a collection URL, it can appear in Google Search results with all relevant features. Further information
    Has the page changed?

    Availability
    The URL can be indexed
    Extensions
    AMP
    The AMP page is valid
    Internal links search box
    1 valid item detected

    The problem:
    – i have a small site (10 url)
    – i modified 3 url on oct 16.
    – this 3 url is not indexing from this date (
    – but the sitemap is correct, all 10 url is in (https://sterilotthon.hu/page-sitemap.xml)
    – the 3 url is ok, when i click on live URL test in search console…

    what is the error? 🙁

    ??? nothing?

    Hello,

    Sorry for the delay.

    Could you also provide the affected URLs that are still not indexed for us to further check?

    Thank you, and looking forward to your update.

    Hi!

    NP 🙂

    This is the 3 URLs with this error:
    There was a crawl problem with the URL you submitted

    https://sterilotthon.hu/atkamentesites/ <- google not indexing
    https://sterilotthon.hu/szonyegtisztitas/ <- google not indexing
    https://sterilotthon.hu/ozon-kezeles-gepjarmu-fertotlenites-tisztitas-pecs/ <- from yesterday INDEXING 🙂

    Hello,

    Thank you for keeping in touch with us.

    Upon checking each of your links, there’s no issue to all of them. All links are returning 200 status, no redirects and your XML page passed the test on XML validator tools.

    Can you please flush your sitemap cache by heading to WordPress Dashboard > Rank Math > Sitemap Settings > General as shown in the video screencast below:
    https://i.rankmath.com/C2UQX5

    After that, try to re-submit your sitemap to your Google Search Console.

    Let me know how it goes.

    Looking forward to helping you.

    I’ve already done that! He’s been at 201 for a month now! 202 is ok?

    Hello,

    I’ve also checked the URL’s you have provided, and it seems that they are already set to index with a 200 status code.

    There are a few things you must check for to see why the posts aren’t getting indexed.

    1. Make sure the post is not selected as ‘noindex’ in WP > Posts > Your Post > Advanced Tab in Rank Math.
    Screenshot:

    Individual Post Advanced Tab

    2. Ensure that the noindex is not selected for Global or Posts meta:

    Noindex Settings

    3. Check the sitemap settings and check if the posts are setup to be included in the sitemaps:

    Post Settings

    Please note that it is completely upto Google if they want to index or not index your website. So, if you haven’t willingly or accidentally made your posts noindex and Google still isn’t indexing your page – it means that either Google doesn’t want to index or hasn’t crawled your page yet because it hasn’t allocated that much crawl budget to your website.

    Please check this website for more details.

    I 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.

Viewing 13 replies - 1 through 13 (of 13 total)

The ticket ‘Robots.txt error’ is closed to new replies.