I don’t want search engines to index most of my site.
However, I want search engines to index 2 folders (and their children). This is what I created, but I don’t think it works, I see the pages on Google that I wanted to hide:
Here is my robots.txt
User-agent: * Allow: /archive/ Allow: /lsic/ User-agent: * Disallow: /
What is the correct way to ban all folders except 2?
seo google-search robots.txt
jeph perro
source share