Google is indexing piwik! what can I do?

[b]Hi!
I need help, google is indexed my Piwik folder and also the:
~‘database name’/piwik
Can someone tell me how to remove it from the index please?

Thanks![/b]

Short answer:
A proper robots.txt will help you.

Please see the link from Google support:
http://support.google.com/webmasters/bin/answer.py?hl=en&safe=active&answer=1663427

Yeah, I know that, thank you , but the problem is that it’s not a folder really, it’s a database with ~ . I’ve already used the robot.txt to restrict the entrance of the crawler, but it doesn’t seem to work with the database name as a folder.

robots.txt has to be in the root folder, i.e., /robots.txt

If I understand correctly, you need this line:


Disallow: /~database/

I’ve Already done that but for some reason google still index it, even after a week…
Well, I believe I will have to wait a bit longer for it to work… Thanks!

Can you try escaping the ~ with a \ ? I have not tried this though.
Disallow: /~database/

Google also allows wildcards, you can try that as well.

http://support.google.com/webmasters/bin/answer.py?hl=en&safe=active&answer=156449&from=35237&rd=1
this page has information on testing robots.txt(at the bottom), it might be helpful.

simple put one robots.txt in your root directory with this in it:

Disallow: /

Google will not index your stats site anymore.