• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

no index tag for a page

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › no index tag for a page

This topic is: not resolved

Tagged: wrap no index tag for a page

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 7 months ago by milada.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 11, 2017 at 6:16 am #207609
    milada
    Member

    Hello,

    can you please help me how to use a non index tag for a page (search page) in Genesis sample?
    I read this: https://blog.hubspot.com/marketing/how-to-unindex-pages-from-search-engines#sm.0001gukjur9y1dzcse22rgu0gogb0 and there is written to:

    Step 1: Copy one of the following tags.
    For "noindex":
    <META NAME="robots" CONTENT="noindex">

    Step 2: Add the tag to the <head> section of your page's HTML, a.k.a. the page's header.

    What is meant by the <head> section of the page HTML? Where should it be pasted?

    I am using simple hooks by Genesis.

    Thank you in advance.
    Kind regards,

    Milada

    June 11, 2017 at 7:08 am #207610
    Victor Font
    Moderator

    If you are using Genesis Simple Hooks, it goes in wp_head Hook. Be careful though to wrap this in a WordPress conditional so it only affects the targeted page, otherwise, because the wp_head hook runs for every page on your site, you will be telling the search engines not to index your site at all. https://codex.wordpress.org/Conditional_Tags

    If you are using Yoast Seo, you can set the no index flag for the targeted page directly in the Yoast Seo meta box in the page editor.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 11, 2017 at 7:37 am #207612
    milada
    Member

    Thank you very much for your prompt reply. The solution with Yoast SEO is handy and easy.
    However, I would like to learn how to wrap the code if I used the wp-head Hook.
    Thank you in advance.
    Regards,

    Milada

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble