How to remove Google, Bing and Yahoo cached pages

We had a website that search engines were able to index some of the content that was supposed be private only, so we had to use IIS-Mod-Rewrite tool to block some of them. So the links are not accessible now but the cached version are still there. How do I go about requesting to clear the cache from at least Google, Bing and Yahoo but still having them index the public websites

Thank you
LVL 1
piotrmikula108Asked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
0
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
0
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
0
 
AndyBeardCommented:
If it is meant to be private, put it behind a password, otherwise it will end up on the web anyway as there are so many bots that scrape content.

For cache removal you will also probably have to block folders in robots.txt as well so they can see that is a wildcard, whereas htaccess they can't.
0
 
cwiedmannCommented:
Have you tried surrounding those lines with <Directory /> and </Directory>?  I think that should make all other directories inherit the configuration.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.