Robots.txt – SEOYEN — Türkiye'nin SEO Platformu

Robots.txt

The standard text file found in a site's root directory that tells crawlers which URLs are allowed to be crawled.

Robots.txt is the standard text file located in a website’s root directory (e.g. https://site.com/robots.txt) that tells search engine bots which URLs are allowed to be crawled.

A typical robots.txt structure:

User-agent: *
Disallow: /panel/
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

User-agent: GPTBot
Disallow: /

Sitemap: https://site.com/sitemap.xml

Important rules:

Common mistakes:

Tip: Validate robots.txt changes with the “robots.txt Tester” tool in Search Console. A single incorrect line can cause the entire site to drop out of the index.