• Resolved SimoHDK

    (@simohdk)


    Hello,

    Does the SEO Framework have the ability to redirect attachment URLs back to the original post via a 301?

    Essentially Google is indexing my attachments despite noindex being enabled. Ideally I would like to redirect to the original post, however my last resort is to update the robots file and blocking wp-uploads.

    https://wordpress.org/plugins/autodescription/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi SimoHDK,

    That’s a great suggestion! I’ll be sure to consider it in 2.7.0 (the image update). More details will follow, but it’s currently not supported.

    The attachments are indexed (despite noindex being enabled for Attachment Pages) because they’re found on your pages and posts.
    The exclusion of such only applies to the page where the attachment, and only the attachment, is found.

    E.g. if your attachment ID is 205, you can find the attachment page by going to example.com/?p=205. When Attachments have been disabled from indexing, that specific attachment page won’t be found on popular Search Engines.

    If you really want attachments not to be found within Google Search — even if they’re shown on Pages and Posts — consider blocking the wp-uploads folder, as you already have thought of :).

    I hope this clears things up!

    Thread Starter SimoHDK

    (@simohdk)

    Hello,

    Great, thank you for clearing that up. For now I’ll implement the block on wp-uploads.

    I appreciate your help. Keep up the great work!

    Thread Starter SimoHDK

    (@simohdk)

    *Marked as solved

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

The topic ‘Redirect Attachment URLs’ is closed to new replies.