• Resolved ywokxa

    (@ywokxa)


    Hello, is my robots.txt file correct if I want my website to appear in Google News? I read on the Yoast SEO website that the robots.txt file should include permission for the GoogleNews bot, something like:
    User-agent: Googlebot-newsAllow: /

    I would greatly appreciate your response on how to edit this file to allow this bot to access my website.

    My robots.txt:

    START YOAST BLOCK —————————

    User-agent: *
    Disallow: /?s=
    Disallow: /page/*/?s=
    Disallow: /search/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @ywokxa,

    Thanks for reaching out. You can read about Google News guidelines here.

    Thread Starter ywokxa

    (@ywokxa)

    Thank you for your reply, but I don’t understand how to enter this in the file. Yoast SEO generates a different format in robots.txt.

    Thread Starter ywokxa

    (@ywokxa)

    Is it correct to write it this way?


    START YOAST BLOCK —————————

    User-agent: *
    Disallow: /?s=
    Disallow: /page/*/?s=
    Disallow: /search/

    User-agent: Googlebot-news
    Allow: /

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Google News’ is closed to new replies.