Title: Robots Error
Last modified: August 20, 2016

---

# Robots Error

 *  [johnny79](https://wordpress.org/support/users/johnny79/)
 * (@johnny79)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/robots-error/)
 * When I look at my website with robots.txt in a browser I see the following
 * User-agent: *
    Disallow: /wp-admin/ Disallow: /wp-includes/
 * However, in the root directory of my wordpress installation the robots text contains
 * User-agent: *
    Disallow: /cgi-bin/ Disallow: /wp-admin/ Disallow: /wp-content/
   Disallow: /wp-includes/ Disallow: /go/ Disallow: /comments/feed/ Disallow: /feed/
   Disallow: /trackback/ Disallow: /index.php Disallow: /xmlrpc.php Disallow: ?comments
   =* Disallow: /search? Disallow: /?p=*
 * User-agent: Mediapartners-Google*
    Allow: /
 * User-agent: Googlebot-Image
    Allow: /wp-content/uploads/
 * User-agent: Adsbot-Google
    Allow: /
 * User-agent: Googlebot-Mobile
    Allow: /
 * Does anybody have ideas about why my robots file is not properly working? The
   only SEO plugin I’m using is WordPress SEO. Thanks

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

 *  [Brandon Kraft](https://wordpress.org/support/users/kraftbj/)
 * (@kraftbj)
 * Code Wrangler
 * [13 years, 10 months ago](https://wordpress.org/support/topic/robots-error/#post-2970734)
 * To clarify, both the robots.txt files are at the root of your domain? If your
   WP install isn’t in root (e.g. [http://example.com](http://example.com) with 
   WP installed in [http://example.com/wp/](http://example.com/wp/)), having the
   robots.txt in /wp/ won’t help.
 * The WordPress SEO allows you to edit a robots.txt directly within the plugin,
   in the Files menu. It may make things simpler to copy/paste your desired text
   into the plugin, then delete the physical file.
 * What’s your website?
 *  Thread Starter [johnny79](https://wordpress.org/support/users/johnny79/)
 * (@johnny79)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/robots-error/#post-2970935)
 * I figured out what the problem was. Thank you for the help.
 *  [Brandon Kraft](https://wordpress.org/support/users/kraftbj/)
 * (@kraftbj)
 * Code Wrangler
 * [13 years, 10 months ago](https://wordpress.org/support/topic/robots-error/#post-2970941)
 * Do share the solution. It could help someone else searching for a fix later on.
 * Glad it is fixed!
 *  Thread Starter [johnny79](https://wordpress.org/support/users/johnny79/)
 * (@johnny79)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/robots-error/#post-2970971)
 * Apparently it had something to do with my hosting company not updating my robots
   file as fast I would have liked.
 * All I did was delete the old hosts file that was in the root directory of the
   public-_html folder and uploaded a new file within the root directory of the 
   specific domain I was working on.
 * Thanks for reaching out to help. It’s good to see another Texan!

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

The topic ‘Robots Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [johnny79](https://wordpress.org/support/users/johnny79/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/robots-error/#post-2970971)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
