Start a conversation

Virtual robots.txt

The built-in feature ‘Virtual robots.txt‘ allows testing new or renewed robots.txt file without changing an existing file in the website root directory.

To configure the virtual robots.txt, go to the ‘Settings‘ → the ‘Virtual robots.txt‘ tab, tick the ‘Use virtual robots.txt‘ checkbox, write your directives and click the ‘OK‘ button to save them.

Virtual robots.txt settings

To start testing set directives, enter the address of a website in the ‘Initial URL‘ field and start crawling using the ‘Start‘ button.   

The tool provides the following functions:

  • Copy → to copy the content into the clipboard; 
  • Save (Alt+S) → to export the created robots.txt file into your device as a text document;
  • Paste → to paste the text from the clipboard;
  • Clear → to delete all content from the window.

The directives from the virtual robots.txt file will affect such parameters as: 

  • Status code‘ → if access to a page is disallowed by a directive in the robots.txt, the ‘Disallowed‘ will be added to the status code 
  • Allowed in robots.txt‘ → the ‘TRUE‘ value is displayed if access to a page is allowed by the ‘Allow‘ directive or the file doesn’t contain any directives, disallowing the indexing of a page. Otherwise, ‘FALSE‘ value is displayed. 
  • Directive in robots.txt‘ → shows which directive allows or disallows access to a page and its number in the file. The value ‘(NULL)‘ is displayed when there is no instruction for the current URL.

The obtained result

To make the crawler obey the directives written in the robots.txt file, activate robots.txt consideration on the ‘Advanced‘ tab in the program settings.  

Advanced settings. Follow directives from robots.txt file

Note: if the ‘virtual robots.txt‘ feature is disabled, then the program will follow and display the instructions written in the realrobots.txt file. Chosen User Agent may also affect crawling and results.

Choose files or drag and drop files
Was this article helpful?

Still Thinking?

Thousands of specialists around the world use Netpeak Software products for daily SEO-tasks. Sign up to start your 7-day free trial right now!