-3

My website description not showing in Google search engine.

I wrote description meta tag inside the header tag.

and my robots.txt file as below

User-agent: *
Disallow: /

When i am searching in google i am getting below message A description for this result is not available because of this site's robots.txt – learn more.

Pedro Lobito
  • 94,083
  • 31
  • 258
  • 268

1 Answers1

2
User-agent: *
Disallow: /

You're blocking all robots to crawl your website.


Simply remove that line to enable robots to crawl your site, or use:

User-agent: *
Disallow:

robots.txt examples:

To exclude all robots from the entire server (what you have!)

User-agent: *
Disallow: /

To allow all robots complete access (or just create an empty "/robots.txt" file, or don't use one at all)

User-agent: *
Disallow:

To exclude all robots from part of the server

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

To exclude a single robot

User-agent: BadBot
Disallow: /

To allow a single robot

User-agent: Google
Disallow:

Learn more about robots.txt at http://www.robotstxt.org

Pedro Lobito
  • 94,083
  • 31
  • 258
  • 268