• 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

Removing Image Attachment Pages form Google Search REsults

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 › General Discussion › Removing Image Attachment Pages form Google Search REsults

This topic is: not resolved

Tagged: attachment pages, google, images, search

  • This topic has 5 replies, 3 voices, and was last updated 9 years, 8 months ago by Tom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • September 21, 2015 at 4:59 pm #166268
    sportydave
    Participant

    HI, I just ran a site:malleeblue.com in Google and noticed a lot of images with attachment URLS. For example, this one land you on a page with nothing but an image of a number - not exactly high quality content.

    http://www.malleeblue.com/online-business-ideas-how-to-get-started/drawing-2/

    Is there a way in Genesis to prevent my images from being indexed by Google and displaying these attachment pages in the SERPS?

    As a general rule, when inserting an image in to a post, I don't insert it as an attachment. I would like to get these pages out of Google.

    Cheers,

    David


    Kind Regards,
    David Trounce

    http://www.malleeblue.com
    September 21, 2015 at 6:55 pm #166277
    Victor Font
    Moderator

    If you use Yoast SEO plugin, there's a checkbox to do this.


    Regards,

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

    September 22, 2015 at 1:44 am #166302
    sportydave
    Participant

    Hi Victor. Thanks. I prefer not to use that plugin. If there are any other suggestions for doing this in Genesis I would be grateful.


    Kind Regards,
    David Trounce

    September 22, 2015 at 5:38 am #166321
    Victor Font
    Moderator

    Apart from using a plugin like Yoast, there is no easy way. Yoast redirects search engine bots back to the parent URL. An alternative is to add <meta name="robots" content="noindex,nofollow" /> in the header of every single attachment page. You could probably write a PHP routine to do this and add it to your functions.php, but you wouldn't get the redirect back to the parent page. The last alternative is to maybe you can find another SEO plugin you'd be willing to work with.


    Regards,

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

    September 22, 2015 at 6:11 am #166326
    sportydave
    Participant

    Thanks Victor. I have decided to add an image.php file and send attachments back to the post. It seems to have worked. Will just need to see what Google does with them.


    Kind Regards,
    David Trounce

    September 29, 2015 at 7:51 pm #167011
    Tom
    Participant

    There is also this nugget from Rob Neu:

    https://wordpress.org/plugins/redirect-unattached-images/


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ 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

© 2025 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