What each mechanism does
Robots.txt contains rules for access to robots. Sitemap lists the addresses that the site reports to the search engine. Noindex refers to excluding a page from the index, and authorization refers to access to content. Mixing these tasks often leads to erroneous settings.
| Mechanism | Main objective | What it does not guarantee |
|---|---|---|
| Robots.txt | Manage URL Scanning | Removing addresses from results or protecting data |
| Sitemap | Notify us of required addresses | Bypassing and indexing each URL |
| Noindex | Report Exclusion from Index | Read the directive if bypass is blocked |
| Authorization | Restrict access to content | Correct SEO-configuration of public pages |
Do not place private documents in the public domain just because their folder has been added to robots.txt. The robots file itself is public and can show path names.
Real robots.txt Cartel Digital
During the check on October 17, 2026, the site file contained such rules. This is a fixed state of a particular project, and not a universal template for copying.
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: https://cartel-digital.biz/sitemap.xml
Sitemap: https://cartel-digital.biz/sitemap.rss
User-agent: * sets a group for robots to which this rule applies. Disallow restricts the separation, and Allow leaves access to the specified AJAX file. Two lines of Sitemap point to the map and RSS format; having multiple ads is not an error in itself.

In this example, there is no general prohibition. Disallow: /. But the absence of such a ban does not prove the indexing of each page: you also need to check HTTP-response, noindex, canonical and content.
How to check sitemap
Open the actual site map. It can be an index with links to individual maps of records, pages and other types of materials. Check several addresses from each important section: they should be opened and correspond to the current structure.
For a normal indexed page map, use the required canonical URLs with a response of 200. Old redirects, 404 and deliberately closed materials should be removed from such a list. The date field should display a significant update, not mechanically today’s date on all pages.
In WordPress, the sitemap URL depends on what generates it: core and SEO plugins may use different names. Identify the active sitemap before submitting its URL to Search Console. Do not create a second file just because another guide uses a different name.
How to check the page you want to remove from the search
Figure out the task: temporarily hide the material, finally delete it, restrict access or leave it public without indexing. For these cases, different solutions are needed. Noindex on the public page should be available for reading; a ban on circumvention can prevent this.
A moved page needs an appropriate redirect, not merely removal from the sitemap. Content deleted without a replacement needs the correct HTTP status. The options are compared in our guide to canonical URLs and duplicates.
Do not confuse four different tasks.
- BypassRules robots.txt
- URL DetectionAddresses in sitemap
- IndexingNoindex Directive and other signals
- Privacy PolicyAuthorization and access control
Checking after changing settings
- Keep the previous rules and explain the reason for the change.
- Check the syntax and specific addresses that the rule affects.
- Publish changes and clear the cache as needed.
- Open robots.txt and sitemap on the main domain.
- Check the important URL in Search Console and compare the result with the date of the bypass.
- Make sure that public images, CSS and JavaScript are not blocked by accident.
Is it possible to close the entire site in one line? Such a rule may prohibit scanning, but it does not protect data and does not guarantee the instant removal of known URLs from the search.
Why is there an address in the sitemap, and it is not in the search? The map reports the URL, and the decision on indexing depends on other conditions. Use step-by-step indexing diagnostics.
Do I need to edit files manually? Not always. First check whether WordPress or the SEO plugin generates these files. A manually uploaded file can override the automatic version, so changes must match the current configuration.
Editorial Cartel Digital. Practical advice and examples, prepared on 17–18 October 2026. Illustrative scenarios do not represent client project results.


