• Resolved wpbh

    (@wpbh)


    Hello good day!

    How can I tell search engines not to index pagination page files in search results like pag / 1, pag / 2, pag / 3, pag / 4 …?

    For example:

    https://www.siteexample.com | Page 2 of 100 | Site Name

    I wish that these archive pages do not appear in the search results.

    What should I do?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Yoast does not have a feature which would add a noindex tag to those archive pages. Google will eventually add a noFollow tag to those pages which is bad for SEO. So we let those pages get indexed. This guide explains more: https://yoast.com/yoast-seo-6-3/.

    However, if you wanted to noindex those pagination archive pages you may do so using the wpseo_robots filter we have here: https://gist.github.com/amboutwe/0c71e42aa164238007d7ea88f174a93f#file-wordpress_robots_custom-php. You will likely need to create a custom code solution using the filter as a guide.

    Unfortunately, there’s a difference between the support we can offer and the level of programming needed to change (core) features of our plugin. Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. And even though we cannot be of any assistance, you’re completely free to change anything in the plugin to better suit your needs.

    We highly recommend checking out?our list of Yoast Partners here https://yoast.com/yoast-partners/ in case you are in need of development.

    We will also keep this issue open for 1 week in case someone from the community can help. Perhaps a developer watching these forums can assist further. After which, we will close in order to keep the overview.

    Thread Starter wpbh

    (@wpbh)

    Hi,

    I understand thank you.

    I have one more question: how can I add these goals to Yoast?

    <meta name = “googlebot” content = “index, follow, max-snippet: -1, max-image-preview: large, max-video-preview: -1” />

    <meta name = “bingbot” content = “index, follow, max-snippet: -1, max-image-preview: large, max-video-preview: -1” />

    I looked for the link you recommended, but I didn’t find it.

    Thank you.

    Hello!

    Please refer here.

    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 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Paging file in search results’ is closed to new replies.