Do i need to add a robots.txt file
-
Hi guys, can someone please set me straight. I started using wordpress a few years ago, but some of my websites would not index in google, it said it couldn’t find a valid robots.txt file. I since use the robot.txt plugin which creates a robots.txt file, i don’t add anything to it, just leave it to the default setting:
User-agent: *
Disallow: /However, for some sites google still couldn’t find the robots.txt file, sop i deleted the line Disallow: /, now every website i do is found in google.
so can someone explain:
1. Why i have to create a robots.txt file (and where can i find this on my server), when i have been told wordpress creates on for me and…
2. why do i have to delete the second line (Disallow: /) on some sites to get google to index them?hope someone can explain, cheers guys… ??
- The topic ‘Do i need to add a robots.txt file’ is closed to new replies.