Robots.txt Generator tool helps you to generate effective 'robots.txt' file, that helps to ensure Google and other search engines are able to crawl and index your website properly.
Copy the above code and save it in as 'robots.txt' file and upload to your website's top-level directory.
If you want this rule to affect all files and directories, type '/'. To specify individual files or directories, type them one per line. Example:
You can also use your 'robots.txt' files to prevent dynamic URLs from being indexed by the search engine spiders. You can also instruct the spiders to avoid an entire folder on your website while still allowing it to access specific pages in that folder.
Also if you want the crawlers and spiders to avoid indexing certain types of files, you will need to use the dollar ($) sign symbol. Make sure you upload your XML sitemap in root folder.