undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • SEO Q&A

      Insights & discussions from an SEO community of 500,000+.

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. Technical SEO
  4. Robots.txt allows wp-admin/admin-ajax.php

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Robots.txt allows wp-admin/admin-ajax.php

Technical SEO
1
1
1.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • AndyKubrin
    AndyKubrin last edited by May 4, 2021, 7:19 PM

    Hello, Mozzers!
    I noticed something peculiar in the robots.txt used by one of my clients:

    Allow: /wp-admin/admin-ajax.php
    

    What would be the purpose of allowing a search engine to crawl this file?
    Is it OK? Should I do something about it?
    Everything else on /wp-admin/ is disallowed.
    Thanks in advance for your help.
    -AK:

    1 Reply Last reply Reply Quote 2
    • 1 / 1
    1 out of 1
    • First post
      1/1
      Last post

    Got a burning SEO question?

    Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


    Start my free trial


    Browse Questions

    Explore more categories

    • Moz Tools

      Chat with the community about the Moz tools.

    • SEO Tactics

      Discuss the SEO process with fellow marketers

    • Community

      Discuss industry events, jobs, and news!

    • Digital Marketing

      Chat about tactics outside of SEO

    • Research & Trends

      Dive into research and trends in the search industry.

    • Support

      Connect on product support and feature requests.

    • See all categories

    Related Questions

    • AmandaBridge

      Disallow wildcard match in Robots.txt

      This is in my robots.txt file, does anyone know what this is supposed to accomplish, it doesn't appear to be blocking URLs with question marks Disallow: /?crawler=1
      Disallow: /?mobile=1 Thank you

      Technical SEO | Aug 28, 2018, 9:50 AM | AmandaBridge
      0
    • Webicultors

      2 sitemaps on my robots.txt?

      Hi, I thought that I just could link one sitemap from my site's robots.txt but... I may be wrong. So, I need to confirm if this kind of implementation is right or wrong: robots.txt for Magento Community and Enterprise ...
      Sitemap: http://www.mysite.es/media/sitemap/es.xml
      Sitemap: http://www.mysite.pt/media/sitemap/pt.xml Thanks in advance,

      Technical SEO | Nov 30, 2016, 6:17 PM | Webicultors
      0
    • Mark_Ginsberg

      Blocking Affiliate Links via robots.txt

      Hi, I work with a client who has a large affiliate network pointing to their domain which is a large part of their inbound marketing strategy. All of these links point to a subdomain of affiliates.example.com, which then redirects the links through a 301 redirect to the relevant target page for the link. These links have been showing up in Webmaster Tools as top linking domains and also in the latest downloaded links reports. To follow guidelines and ensure that these links aren't counted by Google for either positive or negative impact on the site, we have added a block on the robots.txt of the affiliates.example.com subdomain, blocking search engines from crawling the full subddomain. The robots.txt file is the following code: User-agent: * Disallow: / We have authenticated the subdomain with Google Webmaster Tools and made certain that Google can reach and read the robots.txt file. We know they are being blocked from reading the affiliates subdomain. However, we added this affiliates subdomain block a few weeks ago to the robots.txt, but links are still showing up in the latest downloads report as first being discovered after we added the block. It's been a few weeks already, and we want to make sure that the block was implemented properly and that these links aren't being used to negatively impact the site. Any suggestions or clarification would be helpful - if the subdomain is being blocked for the search engines, why are the search engines following the links and reporting them in the www.example.com subdomain GWMT account as latest links. And if the block is implemented properly, will the total number of links pointing to our site  as reported in the links to your site section be reduced, or does this not have an impact on that figure?From a development standpoint, it's a much easier fix for us to adjust the robots.txt file than to change the affiliate linking connection from a 301 to a 302, which is why we decided to go with this option.Any help you can offer will be greatly appreciated.Thanks,Mark

      Technical SEO | Nov 19, 2013, 7:37 PM | Mark_Ginsberg
      0
    • KCBackofen

      Will an XML sitemap override a robots.txt

      I have a client that has a robots.txt file that is blocking an entire subdomain, entirely by accident. Their original solution, not realizing the robots.txt error, was to submit an xml sitemap to get their pages indexed. I did not think this tactic would work, as the robots.txt would take precedent over the xmls sitemap. But it worked... I have no explanation as to how or why. Does anyone have an answer to this? or any experience with a website that has had a clear Disallow: / for months , that somehow has pages in the index?

      Technical SEO | Apr 10, 2013, 8:50 PM | KCBackofen
      0
    • irvingw

      Allow or Disallow First in Robots.txt

      If I want to override a Disallow directive in robots.txt with an Allow command, do I have the Allow command before or after the Disallow command? example: Allow: /models/ford///page* Disallow: /models////page

      Technical SEO | Feb 10, 2015, 7:53 AM | irvingw
      0
    • themegroup

      Robots.txt file getting a 500 error - is this a problem?

      Hello all! While doing some routine health checks on a few of our client sites, I spotted that a new client of ours - who's website was not designed built by us - is returning a 500 internal server error when I try to look at the robots.txt file. As we don't host / maintain their site, I would have to go through their head office to get this changed, which isn't a problem but I just wanted to check whether this error will actually be having a negative effect on their site / whether there's a benefit to getting this changed? Thanks in advance!

      Technical SEO | Sep 6, 2011, 8:08 AM | themegroup
      0
    • nicole.healthline

      Is blocking RSS Feeds with robots.txt necessary?

      Is it necessary to block an rss feed with robots.txt? It seems they are automatically not indexed (http://googlewebmastercentral.blogspot.com/2007/12/taking-feeds-out-of-our-web-search.html) And, google says here that it's important not to block RSS feeds (http://googlewebmastercentral.blogspot.com/2009/10/using-rssatom-feeds-to-discover-new.html) I'm just checking!

      Technical SEO | Jul 9, 2011, 12:15 PM | nicole.healthline
      0
    • RogersSEO

      /index.php in sitemap? take it out?

      Hi Everyone, The following was automatically generated at xml-sitemaps.com Should I get rid of the index.php url from my sitemap?  If so, how do I go about redirecting it in my htaccess ? <url><loc>http://www.mydomain.ca/</loc></url>
      <url><loc>http://www.mydomain.ca/index.php</loc></url> thank you in advance, Martin

      Technical SEO | Jun 20, 2011, 3:01 PM | RogersSEO
      0

    Get started with Moz Pro!

    Unlock the power of advanced SEO tools and data-driven insights.

    Start my free trial
    Products
    • Moz Pro
    • Moz Local
    • Moz API
    • Moz Data
    • STAT
    • Product Updates
    Moz Solutions
    • SMB Solutions
    • Agency Solutions
    • Enterprise Solutions
    Free SEO Tools
    • Domain Authority Checker
    • Link Explorer
    • Keyword Explorer
    • Competitive Research
    • Brand Authority Checker
    • Local Citation Checker
    • MozBar Extension
    • MozCast
    Resources
    • Blog
    • SEO Learning Center
    • Help Hub
    • Beginner's Guide to SEO
    • How-to Guides
    • Moz Academy
    • API Docs
    About Moz
    • About
    • Team
    • Careers
    • Contact
    Why Moz
    • Case Studies
    • Testimonials
    Get Involved
    • Become an Affiliate
    • MozCon
    • Webinars
    • Practical Marketer Series
    • MozPod
    Connect with us

    Contact the Help team

    Join our newsletter
    Moz logo
    © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
    • Accessibility
    • Terms of Use
    • Privacy

    Looks like your connection to Moz was lost, please wait while we try to reconnect.