block search engine crawling directory
问题 My site have URL (longest) structure like this http://www.example.com/xyz-pqr/abcd-efgh/123.html So there is maximum of 3 directory level, but because of CMS and other problem my site is getting indexed in search engine for more than 3 directory level url like, http://www.example.com/xyz-pqr/abcd-efgh/xyz-pqr/abcd-efgh/123.html http://www.example.com/xyz-pqr/abcd-efgh/xyz-pqr/abcd-efgh/abcd-efgh/123.html I want to write code in robots.txt so that, search engine will never crawl more than 3