WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#39668 closed defect (bug) (invalid)

robot.txt

Reported by: abbasmehran@… Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7.1
Component: General Keywords:
Focuses: Cc:

Description

Hi I am new here, and with a problem. My site was hacked changing all designs and contents. I restored going back a couple of weeks. But after a few day google could not crawl and index pages. Chrome and Google Search Console tell me that my site, www.marshamehran.com/ has robots.txt and that contains:
User-agent: *
Disallow: /wp-admin
Allow: /wp-admin/admin-ajax.php

But it seems someone somehow has written a robots.txt and injected somewhere that prevents Home page being indexed. I can't find this robots.txt, or rather no robots.txt at all. Based on OnPage.org Zoom report I have 27 pages noindex via robots. Where robots.txtare hidden?

Any advice, please

Change History (1)

#1 @SergeyBiryukov
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @abbasmehran@…, this Trac is used for enhancements and bug reporting for the WordPress core software.

Please try the support forums to get help with your site.

Note: See TracTickets for help on using tickets.