Jump to content

help with robots.txt


Recommended Posts

Posted

Hi, I noticed after upgrading to IPB4 and switching webhosts, in google search for my site there is no longer any crawler links, 

in fact all it shows is

11e98bfdbf3d7c293a17dfd9e0ce73e5.png

initially I thought this had something to do with cloudflare, but it seems it's caused by my robots.txt file

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

 

I have no idea how it was set up before, can anyone tell me how to enable crawlers safely(only giving them access to appropriate stuff)

Posted

Yes you need:
User-agent: *
Disallow:
Disallow: /cgi-bin/

Instead of:
User-agent: *
Disallow: /
Disallow: /cgi-bin/

The one you have blocks the entire website. You might want to find out how it was gonfigured that way. Also, consider changing your Title tag and description tag.

Posted

Most bots don't respect robots.txt and you should find other ways to block them like on Nginx you can map them and set a value like 0 allow 1 block :)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...