TwentyEleven theme and attachment_id posts (2 posts)

  1. Gaile_E
    Posted 2 years ago #

    If Murphy's Law holds true then the moment I post this the answer will become crystal clear and I'll realize I overlooked the obvious.

    I am trying to prevent this:


    My images don't show up if you search the image name under google search "images" because I have them blocked in robots.txt but if you put the image name into google and hit search (with the default being "web"), then these pages called "attachment_id" show up.

    I am looking for a way to redirect these pages back to gaile.ca - the images they show are the header images that show up in random rotation in the header.

    I found a way to redirect for post specific images but that won't apply in this instance.

    My php skills are rusty and basic so I'm not quite sure what I need to change, despite looking around all morning for a solution.

    Anyone know what to do? Thanks in advance!

  2. Keating
    Posted 2 years ago #

    Also looking for a solution for this...

Topic Closed

This topic has been closed to new replies.

About this Topic