Which file is placed on a website's server to give instructions to search engine web crawlers about which paths and directories should not be scanned or indexed? MCQ with Answer and Explanation
Which file is placed on a website's server to give instructions to search engine web crawlers about which paths and directories should not be scanned or indexed?
A. index.html
B. htaccess
C. sitemap.xml
D. robots.txt
Answer: Option D
Solution (By JKExamLibrary)
The robots.txt file is a standard text file used by websites to guide web robots and crawlers regarding which parts of the site they are allowed to index.
What does a '405 Method Not Allowed' HTTP status code return imply about a client browser's interaction with a web application?
A.The input security certificate has an expired authorization date.
B.The web server facility has completely crashed down.
C.The requested URL address path has changed its location permanently.
D.The server recognizes the request method, but the specific target resource does not support that method (e.g., trying to POST to a read-only static text file).
Explanation:
An HTTP 405 error occurs when the requested resource is configured to reject the specific HTTP method used (such as a browser attempting a POST action on a static page designed only to accept GET requests).
No comments yet. Be the first to start the discussion!