Hi guys, i have a problem with our site's robots.txt. I want to exclude a folder but it cannot be excluded because its not really a physical directory. it's a sort of rewrite URL. I've created a <Meta name = "robots" content="noindex, nofollow"> on the page.. will this thing help??? but I'm not able to add the robots.txt file on the folder Please help me guys! thanks in advance
You should have only 1 robots.txt file in root folder. You can exclude any folder using that robots.txt file. It doesn't matter whether they are static or dynamic. For example, to exclude "sample" folder, use Disallow: /sample/