I have set the robot.txt of my website as follow after seeing lots of errors in google's webmaster tools. Mainly because of the Smarty template files. So I changed my robots file as follow:
User-agent: *
Allow: /
Disallow: /templates_c
My question is, in the second line I allow every folder, and in the third line I disallow /templates_c
folder. So which case will be evaluated by the robots? I mean if I am allowing everything but next line disallow one folder, what will be the result?
Or should I add any folders that I want to be searched to Allow
and then call Disallow
?