Error 404 wp-admin/admin-ajax.php

#794279
  • Resolved Anonymous
    Rank Math free

    Hi, I have problem with Google search console error 404. url: admin-ajax.php. How can I resolve It? Thanks

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

    I’m sorry to hear that you’re facing a 404 error issue with the URL admin-ajax.php in Google Search Console. This error can impact your website’s performance and indexing.

    To resolve this issue, you can follow these steps:

    1. Check Your Web Server Settings:
      • Ensure that your web server is configured to return a 404 error for missing pages. If the server is not configured correctly, it may return a 200 status code instead of a 404, causing Google to index the page even though it doesn’t exist.
      • Contact your web hosting provider to fix this issue and check your server settings.

    If the issue persists or you need further assistance, please let us know by replying to this ticket. Our support team will be happy to help you further.

    Thank you for reaching out and raising this concern.

    Sources:
    How to Fix the Submitted URL Seems to Be a “Soft 404” Error » Rank Math
    How to Find Out Where 404 Errors Are Coming From » Rank Math
    How to Fix 404 Errors with Rank Math SEO Plugin
    How to Fix ‘Blocked by robots.txt’ Error in Google Search Console » Rank Math

    Hello,

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    The admin-ajax.php file is used by WordPress to refresh data on pages without reloading the pages.  Without that, you would need to hand-load the files you need, which is a complicated process.

    In short, it’s used just for the AJAX calls on the website, which pretty much all plugins and themes use.

    However, please check your website’s robots.txt file, and see if the admin-ajax.php is set to Allow or Disallow. Google seems to be trying a direct crawl of the URL. Since there should be no pages at that URL, the page crawler shouldn’t find any. So if the admin-ajax.php file is set to Allow in your robots.txt file, a 4xx status is entirely fine and makes sense. Therefore, you can avoid fixing Blocked due to other 4xx issue for this URL, as technically it is not broken.

    Don’t worry, a 4XX error for this URL will not affect your indexing and ranking.

    Meanwhile, you can wait for a re-crawl of your website and hopefully, the issue should go away.

    You may try visiting the URL below to learn more: https://support.google.com/webmasters/thread/180548114

    Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

    Anonymous
    Rank Math free

    I understand.Thanks.
    I have even an other error, a page excluded by no tag index.

    URL:
    https://universomontagna.com/wp-login.php?action=lostpassword
    Is It a problem? Should do i correct or not? thanks

    Hello,

    We have investigated this and we can see that your Lost Password page is indeed set to noindex. Since your other pages are already set to index, then you can ignore this GSC report, as there is no use in indexing the Lost Password page

    But if you would rather set the Lost Password page to index, you can do that by adding this code to your website:

    add_filter( 'rank_math/frontend/robots', function( $robots ) {
        if ( strpos( $_SERVER['REQUEST_URI'], '/wp-login.php?action=lostpassword' ) !== false ) {
            $robots['index'] = 'index';
        }
        return $robots;
    });

    We hope this helps you resolve the issue. Don’t hesitate to contact us again with any other questions or concerns regarding Rank Math. We are always happy to help.

    Thank you for choosing Rank Math!

    Hello,

    1. This type of page is not something you need to index on the SERP as well. It seems that Google has somehow discovered this page on your website. You can submit the URL in your GSC’s URL inspection tool and look for the referring page to see how Google has discovered this URL.

    Moreover, you can block Google from crawling and indexing this page by adding this directive to your robots.txt file:

    User-Agent: *
    Disallow: */feed

    Here’s how you edit your robots.txt in Rank Math plugin: https://rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/

    2. The /home URL is simply just redirecting to /, your actual homepage. Please submit the URL https://universomontagna.com/home/ to the URL inspection tool as well and check for the referring page. You should see there where Google is seeing this URL. It could be from a post/page content that has its link, you need to change it to /.

    If that doesn’t help you, please share the screenshot of the report you are seeing from URL inspection tool.

    Looking forward to helping you.

    Hello,

    You should submit your sitemap properly by following our guide here:
    https://rankmath.com/kb/submit-sitemap-to-google/

    Also, your URLs are already appearing using the site: operator on Google

    site

    Looking forward to helping you.

    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 6 replies - 1 through 6 (of 6 total)

The ticket ‘Error 404 wp-admin/admin-ajax.php’ is closed to new replies.