Title: Error: Unknown directive
Last modified: May 6, 2023

---

# Error: Unknown directive

 *  Resolved [mbeerli](https://wordpress.org/support/users/mbeerli/)
 * (@mbeerli)
 * [3 years ago](https://wordpress.org/support/topic/error-unknown-directive/)
 * When analyzing robots.txt with
   [https://pagedart.com/tools/robots-txt-file-checker/#unknown-directive/](https://pagedart.com/tools/robots-txt-file-checker/#unknown-directive/)
   it tells me Line:1 has an error.that would be your commentany chance you can 
   remove it?#`**This virtual robots.txt file was created by the Virtual Robots.
   txt WordPress plugin: https://www.wordpress.org/plugins/pc-robotstxt/**`
    -  This topic was modified 3 years ago by [mbeerli](https://wordpress.org/support/users/mbeerli/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Marios Alexandrou](https://wordpress.org/support/users/marios-alexandrou/)
 * (@marios-alexandrou)
 * [3 years ago](https://wordpress.org/support/topic/error-unknown-directive/#post-16716358)
 * The comment line is an important diagnostic tool as many users can’t tell whether
   they’re looking at the plugin’s robots.txt or some other one. Comments in robots.
   txt are well-supported. I’m not sure why PageDart would consider one an error.

Viewing 1 replies (of 1 total)

The topic ‘Error: Unknown directive’ is closed to new replies.

 * ![](https://ps.w.org/pc-robotstxt/assets/icon-256x256.png?rev=1391109)
 * [Virtual Robots.txt](https://wordpress.org/plugins/pc-robotstxt/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pc-robotstxt/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pc-robotstxt/)
 * [Active Topics](https://wordpress.org/support/plugin/pc-robotstxt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pc-robotstxt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pc-robotstxt/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marios Alexandrou](https://wordpress.org/support/users/marios-alexandrou/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/error-unknown-directive/#post-16716358)
 * Status: resolved