문제

I don't know why this is, but when I check my website on Google via site:lipedesign.dk (Which is my website), the last 4-5 results are something in my JavaScript folder. I am not quite sure why this is happening? Do you?

Thanks in advance

도움이 되었습니까?

해결책

Do you have a robots txt in your first directory? Example below.

User-agent: *
Disallow: /cgi-bin/
Disallow: /tmp/
Disallow: /js/

다른 팁

You have your server set up to display directory indices. Since a directory index is an HTML page, it is served like any other, and Google will index it like any other. If you don't want it to be indexed by Google, either add a Disallow in your robots.txt or just disable directory indices on that folder.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top