Support » Plugin: Yoast SEO » How to prevent to index preview pages?

  • Resolved Carlos Fagiani Junior

    (@fagianijunior)


    Hi,

    On Search Console (Google) is showing to me some 5xx erros, google is trying to index previewed pages, like that: /slug_of_the_page/?preview_id=19179&preview_nonce=59e3bad837&post_format=standard&_thumbnail_id=19184&preview=true

    This is not a published page, but is send to Search Console.

    Has one way to stop it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Pcosta88

    (@pcosta88)

    Hi,

    The issue is that some plugin or theme is creating URLs that Google is somehow finding. It is not possible with Yoast to add a noindex tag to those URLs. To resolve the issue we suggest the following actions:

    1. Contact the theme or plugin developer responsible for creating those previewed pages and confirm they are being created correctly.

    2. Add a rule in your robots.txt file that specifically disallows those URLs from getting crawled by Google. This guide explains more about how to use a disallow rule: http://searchengineland.com/a-deeper-look-at-robotstxt-17573

    and this one on how to edit the robots file: http://kb.yoast.com/article/279-how-to-edit-robots-txt-through-yoast-seo

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.