I want to block the one folder of the website and want google and other search engines crawler to index the pages inside the folder, i.e.
www.xyz.com/abc/123.html
I don't want www.xyz.com/abc/ to appears in the search engine, so I want to block "abc" folder from robots.txt but I want the crawler to crawl 123.html page (which is inside abc folder).
Can you please guide me on how to write robots.txt code in this situation.
Thanks