Search code examples
search-engineasp.net-charts

How to prevent ASP.NET Chart Control images from being indexed?


I have some pages on my public website that display charts generated by ASP.NET Chart controls. How can I prevent them from being indexed by Google and other search engines?


Solution

  • When you configure the chart control you can setup the location that information is saved to, then simply setup a Robots.txt file to disallow indexing of content from that folder.

    More information on Robots.txt to disallow image indexing can be found here.