Hello, we have noticed that our site has been indexed in the search engines for query strings URLs. Non of these URLS are in our website. All our pages are simple static HTML pages. What would be the robot.txt instructions we need to include in our robots.txt so that these URLs would not be indexed in the search engines?
Here is are two examples of we would like to exclude from being indexed:
We have many links like this that we don't want. The equivalent links we DO want indexed would be:
We have an apache webserver and use .htaccess and robots.txt files