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
    • MozCon
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Digital Marketers
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • 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.

    Let your business shine with Listings AI
    Moz Local

    Let your business shine with Listings AI

    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.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Digital Marketers

      Simplify SEO tasks to save time and grow your traffic.

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

    • 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

    • LivDetrick

      Role of Robots.txt and Search Console parameters settings

      Hi, wondering if anyone can point me to resources or explain the difference between these two. If a site has url parameters disallowed in Robots.txt is it redundant to edit settings in Search Console parameters to anything other than "Let Googlebot Decide"?

      Technical SEO | Sep 27, 2019, 11:21 AM | LivDetrick
      0
    • lauralou82

      Robots.txt in subfolders and hreflang issues

      A client recently rolled out their UK business to the US. They decided to deploy with 2 WordPress installations: UK site - https://www.clientname.com/uk/ - robots.txt location: UK site - https://www.clientname.com/uk/robots.txt
      US site - https://www.clientname.com/us/ - robots.txt location: UK site - https://www.clientname.com/us/robots.txt We've had various issues with /us/ pages being indexed in Google UK, and /uk/ pages being indexed in Google US. They have the following hreflang tags across all pages: We changed the x-default page to .com 2 weeks ago (we've tried both /uk/ and /us/ previously). Search Console says there are no hreflang tags at all. Additionally, we have a robots.txt file on each site which has a link to the corresponding sitemap files, but when viewing the robots.txt tester on Search Console, each property shows the robots.txt file for https://www.clientname.com only, even though when you actually navigate to this URL (https://www.clientname.com/robots.txt) you’ll get redirected to either https://www.clientname.com/uk/robots.txt or https://www.clientname.com/us/robots.txt depending on your location. Any suggestions how we can remove UK listings from Google US and vice versa?

      Technical SEO | Apr 26, 2018, 1:35 PM | lauralou82
      0
    • btreloar

      Robots.txt Syntax for Dynamic URLs

      I want to Disallow certain dynamic pages in robots.txt and am unsure of the proper syntax. The pages I want to disallow all include the string ?Page= Which is the proper syntax?
      Disallow: ?Page=
      Disallow: ?Page=*
      Disallow: ?Page=
      Or something else?

      Technical SEO | Mar 29, 2017, 11:30 AM | btreloar
      0
    • rijwielcashencarry040

      Good robots txt for magento

      Dear Communtiy, I am trying to improve the SEO ratings for my website www.rijwielcashencarry.nl (magento). My next step will be implementing robots txt to exclude some crawling pages.
      Does anybody have a good magento robots txt for me? And what need i copy exactly? Thanks everybody! Greetings, Bob

      Technical SEO | Jan 13, 2017, 3:29 PM | rijwielcashencarry040
      0
    • Eurasmus.com

      Log in, sign up, user registration and robots

      Hi all, We have an accommodation site that asks users only to register when they want to book a room, in the last step. Though this is the ideal situation when you have tons of users, nowadays we are having around 1500 - 2000 per day and making tests we found out that if we ask for a registration (simple, 1 click FB) we mail them all and through a good customer service we are increasing our sales. That is why, we would like to ask users to register right after the home page ie Home/accommodation or and all the rest. I am not sure how can I make to make that content still visible to robots.
      Will the authentication process block google crawling it? Maybe something we can do? We are  not completely sure how to proceed so any tip would be appreciated. Thank you all for answering.

      Technical SEO | Apr 15, 2024, 6:33 AM | Eurasmus.com
      3
    • salvyy

      How to Delete the slug /category/ from wordpress category pages

      Hi all, I would like to ask you what's the better way to eliminate the slug /category/ form the wordpress category pages. I need to delete the slug /category/ to make the url seo frendly. The problem is that my site is an old site with the page indexed by Google for a long time. Thanks for your advice.

      Technical SEO | Jan 24, 2014, 2:04 PM | salvyy
      0
    • Hakkasan

      Google Off/On Tags

      I came across this article about telling google not to crawl a portion of a webpage, but I never hear anyone in the SEO community talk about them. http://perishablepress.com/press/2009/08/23/tell-google-to-not-index-certain-parts-of-your-page/ Does anyone use these and find them to be effective? If not, how do you suggest noindexing/canonicalizing a portion of a page to avoid duplicate content that shows up on multiple pages?

      Technical SEO | Oct 28, 2011, 12:32 PM | Hakkasan
      1
    • 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
    • Digital Marketers
    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.