1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Wordpress Attachment 'media' Pages - What to do?

Discussion in 'Blogging' started by Scorpion Ghost, Jun 15, 2014.

  1. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    884
    Likes Received:
    171
    I have a small wordpress website (11 posts).

    Earlier today I thought I'd do a Google search and make sure everything is indexed properly. So I did the search to filter out only posts from my website, like this:

    site:mywebsite.com

    In the results I came across a lot of posts which are like duplicates of my original posts, and these posts contain only an image. I don't like this because if someone lands on one of these posts they will only see the image, not the post (content) of where the image is supposed to be. Plus it could be a duplicate content issue, because apart from having the same picture on more than one different posts, these posts are just an image, so there's no content there, so it looks bad. And these attachment pages have the same URL as the original post (the one with the content) plus an additional part which is the picture's ALT tag maybe, or the picture's name, like this:

    Original post: mywebsite.com/this-is-the-post-url

    Attachment page: mywebsite.com/this-is-the-post-url/this-is-the-extra

    I don't even understand why Wordpress does this, with Blogger I never had such an issue...

    So I read about a plugin which makes every attachment page redirect to the post where the image was originally uploaded to, I think that's what this plugin does... And I also read about Yoast having the same option, to redirect the attachment pages to the original posts. Then I read about making the attachment pages noindex. Then I read about hosting your images on a sub-domain...

    So now I'm confused, what to do? If I make all the attachment pages "noindex", then those pictures stop being indexed and as a result stop bringing me traffic from image search engines? Do I redirect attachment pages to their original posts by using a plugin? But that will still leave my "duplicate" attachment pages available for indexing, so that may resolve the issue of any website's visitor landing on an attachment page, but it still doesn't resolve the issue of google (and other search engins) indexing those attachment pages as Duplicate posts, thus negatively affecting my SEO...

    What do you do on your websites about the attachment pages?

    Thanks.
     
  2. tojamie

    tojamie BANNED BANNED

    Joined:
    Jan 14, 2013
    Messages:
    1,052
    Likes Received:
    237
    What is this? Nope. Never get error from this platform.

    Kindly delete that attachment page and re-upload again.
     
  3. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    884
    Likes Received:
    171
    You misunderstood me, it's not AN attachment page.. It's One attachment page for Each picture on my website... So there are Many attachment pages.

    Here, maybe you'll understand my problem after reading this:

    http://www.wpbeginner.com/wp-tutorials/how-to-disable-image-attachment-pages-in-wordpress/

    The problem with the solutions offered on that site is that it's 1 year old at least. But the main problem is that I don't know what's the best solution In Reality!! Redirecting attachment pages, does it solve the duplicate issue (danger) with google and other search engines? Making these attachment pages "noindex", does it just stop indexing the attachment page and showing it in the search results, or does it also ignores and stops showing the Pictures themselves in the search results?

    The thing is that there are people on BHW who have a lot of websites and years of experience and everything, so one of those people could explain the situation to me, and what my best solution is and why, in three minutes/sentences... Alternatively it will take me 3 days to go through videos and forums and blogs and misinformation and outdated information and simply misinformation...

    Hope someone can help me out here...
     
  4. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    884
    Likes Received:
    171
    Here is an article that PERFECTLY explains my issue:

    http://www.ampercent.com/prevent-indexing-wordpress-image-attachment-pages/9082/

    Honestly, I am surprised that this is not a HUGE problem that everybody is talking about... This literally means that EVERY wordpress site has this issue and unless it's taken care of it will negatively impact on your SEO/rankings...

    But if this was such a huge problem, wouldn't the wordpress designers or the theme designers fix it? That's the question I now ask myself...

    And the article above was going perfectly, up until the Last 2 Comments...


    Here goes:

    Hi Amit,
    many thanks for the Info!
    I use yoast seo and put noindex within each single image file in my media library.
    Now my question, when i´m using noindex - will this also delete any images found in google image search?




    Yes it will, but dont worry much about images being noindexed...they don't give you much traffic and is mostly useless


    The answer was given by the Author of this article... So I find that I can't trust in his solutions after he made such a statement, what?

    "Images Don't give much traffic and they are mostly useless?"

    I humbly disagree with this, as a newb, humbly...

    I just want the pictures that I use in my posts to be indexed by the search engines, but I don't want those extra attachment Posts being created every time I upload a new picture into any of my posts.

    Sometimes I miss blogger... The Unsolvable problems were never of this magnitude...

    p.s You can see I tried finding an explanation and a solution, it's not a spoon feeding thread, so out of respect for that can't you guys please throw me a bone? Thanks :)
     
    Last edited: Jun 15, 2014
  5. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    884
    Likes Received:
    171
    Well, I'm down to 2 solutions.

    1:

    The best and the most efficient way to solve this problem are to install the WordPress SEO plugin, go to the Permalinks section and check the "Redirect Image Attachment URLs to Parent Post".

    What it actually does, is that, it 301 redirects the image attachment pages to the parent post. The good thing about 301 redirect is that, it not only redirects the visitors but also passes any link juice from those pages to the parent post. You do not even need to worry about the hundreds of pages that have already been indexed, as Google will slowly de-index them automatically as it finds 301 redirect implemented on these pages.




    2:

    Simply use a plugin or robots.txt to make all the attachment pages have a "noindex" tag to them, so they won't get indexed anymore, and that will be the end of that.



    Issues:


    If I make these pages "noindex", does that also makes the pictures on those pages not get indexed? And even if it does, will at least those same pictures which can be found on the original posts still get indexed properly? I want to have each photo that I upload to my website indexed once, that's it.

    If I use a plugin to make the 301 redirect, is that safe for SEO? And then will the attachment pages get de-indexed eventually? The article where I read this says they will, but will they? Because if they will then that would mean that the 301 redirect will somehow make those attachment pages get de-indexed overtime, but how will that happen? Isn't the 301 redirect just gonna sort of flow the link juice through? Or is it that the 301 redirect is sort of like a hint that the Parent page is the original page, and so eventually the search engines crawlers will take the hint and stop indexing the pages that have the 301 redirect attached to them redirecting elsewhere?


    And the confusion rages on... :smash: :banghead:
     
  6. sagarpatil

    sagarpatil Regular Member

    Joined:
    Mar 2, 2009
    Messages:
    458
    Likes Received:
    278
    Use the plugin 301 attachment pages.
     
  7. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    884
    Likes Received:
    171
    Yeah, thanks man.

    And I just noticed in the webmaster tools that my sitemap has like 63 Submitted URLs... But I only have 11 Posts on the website...

    All the other 52 URLs are: A few categories, A LOT of Attachment Pages...

    So will implementing the 301 redirect also take care of the useless URLs in my sitemap? I think not... Even putting the noindex probably won't remove these URLs from the sitemap...

    Jesus christ, who would have thought that I would have missed blogger... I never had such Huge Website Destruction problem with blogger, and with no hope of finding an intelligent explanation/solution... My website is basically sitting there with all these attachment pages, which were created by wordpress because ''that's the way it works'', a big stupid fucking clutter of useless picture pages floating around... I'm pretty pissed now... :/
     
  8. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    884
    Likes Received:
    171
    Bump... Nobody? :/
     
  9. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    884
    Likes Received:
    171
    Is there any forum or blog or place where I can get some help with this?

    I think I can exclude the Attachment Media Pages from the Sitemap using All In One SEO, but that wouldn't really solve anything because these attachment pages will still be indexed... Excluding the Attachment pages from the sitemap which I have submitted to google and bing webmaster tools will simply delay the indexing of new attachment pages which will keep being created for every fucking picture I upload on my website...

    But hiding these pages from the search engines may take it all...

    So exclude them from the sitemap... Then make them 301 redirect to their parent posts... And also make them have the "noindex" tag...

    So then the pages won't be there in the sitemap for google and bing to pick up on. When their crawlers arrive on an attachment page they will find a 301 redirect telling them that the parent page is the original page. And the crawlers will also get the "noindex" tag telling them Not to index these attachment pages from hell...

    It's amazing though how I got no response here, and I must have read over 50 blog posts and forums, they all start nicely and then as you get through the article and reach the comments, or reach the last few comments on a forum, usually by the end of the comments someone will ask an intelligent question that makes sense, and then there are no more comments, the article is dead, and no response...

    For example, if the attachment pages are set as "noindex", will the Images from the Original Posts - the same images found on the attachment pages - get indexed or not?
     
  10. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    884
    Likes Received:
    171
    I'll keep writing here, maybe someone can get something from my experience...

    Well, I've decided to switch from All In One SEO to Wordpress SEO by Yoast.

    My reason for this is that from my research I've come to the conclusion that Yoast's SEO is more advanced, it has more options, while AIO SEO is more for beginners.

    One of those options are these stupid fucking attachment pages, with Yoast I can redirect these attachment pages to their parent posts.

    The other is that Yoast supports twitter cards, so that means that I can also remove the JM Twitter cards plugin...

    I also know exactly where to go to on Yoast set the Media Attachment - Piece of Shit - Pages as "noindex"...


    And when I'm done with all of this I will create a new sitemap (Excluding Media Pages, Tags and Format) from Yoast and resubmit it to google and bing webmaster tools. And then I will go and De-index all the Media Attachment -PIECE OF SHIT - Pages forcibly!

    It's crazy how I accidentally stumbled upon this issue, and I checked my google webmaster tools and sure enough, I had a warning, and it was caused by one of the Media Attachment - Piece of SHIT - Pages... Here:

    123.JPG

    And p.s, I only have 11 posts published on my website... The Other 52 links are Archive, Contact us, Privacy Policy, Homepage, 7 category links... that leaves us with 42 Links, these are ALL Attachment Pages, WITH DUPLICATE URLS, WITH DUPLICATE Meta Descriptions, Duplicate pictures, just an SEO FAIL FAIL FAIL!!!

    Oh, and p.p.s, by the way, wordpress developers should take a good long look in the mirror... No offence, I couldn't develop wordpress or plugins and stuff, but if you're gonna do something, do it well, and leave something witchy (as said by Charles Manson). :D

    I am sick to my stomach to see this attachment media pages issue not attacked at its core, which is wordpress itself!
     
    Last edited: Jun 16, 2014
  11. IMCapitalist

    IMCapitalist Senior Member

    Joined:
    Jan 21, 2014
    Messages:
    1,090
    Likes Received:
    60
    Location:
    Google Universe
    when you upload post image , look for other option other than attachment.Hope you will find since its in the same drop down box as attachment.
     
  12. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    884
    Likes Received:
    171
    Yeah, I just uploaded an image on a new post and I put None in that area... It still created a post for it, even without publishing the post... Anyway, the fact of the matter is that a lot of other people have complained about this, and I personally don't like the idea of posts being created, useless posts, picture posts, no, no...

    I don't like the attachment pages in terms of users/traffic/people, imagine one lands on a post on my site with just a picture, when one was expecting a solution to his/her problem, and even worse if it's a first-time visitor, I lost that person, bad experience, bad impression, my site is lost to that person...

    And I don't like them existing in terms of SEO, Duplicated pictures, meta descriptions, post url's/permalinks, useless links filling up the search results... The point is that it created not only attachment posts for pictures I actually Used in my posts (11 posts), it created one for EVERY picture I EVER uploaded, even the ones I didn't use ever, even 2 duplicates of the same picture which I tried editing in order to fit in my header nicely, and then eventually I used an altogether different picture, and the one/s I didn't use are actually there as attachment pages, INDEXED... Need I say more?


    And by the way, Yoast SEO looks awesome, for now... :p
     
  13. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    884
    Likes Received:
    171
    I could probably upload all my pictures on an image hosting site like photobucket, flickr, picasa, and then use the URL for inserting images in my posts, and that would not create attachment pages, I think it wouldn't, it shouldn't, the photos would be hosted elsewhere... But one never knows with the internet, and I have no time to test it now...

    But it doesn't matter, because with this solution you are literally putting ALL your pictures at the mercy of the free image hosting sites... Remember, FREE, that's a Key-Word, that means that your account can be Terminated at any point, or pictures can get deleted, whatever, fuck you, it's free... :p

    So you have no control over your pictures there, no point in risking that, imagine having 1000 pictures on a website across 500 different posts, and one day you lost your account on the image hosting site, and all your pictures get deleted from there, from that point on all those pictures on your site will either display an error message, or maybe just the alt tag, if you added one/where you added one...

    Meh, it just came to me that this can be a solution, but not one I would feel comfortable using...


    This is actually how blogger works, if I remember correctly and if I'm not mistaken. All images uploaded on blogger blogs are actually hosted on Picasa, the google's image hosting site... Thus solving a potential "Attachment Pages" problem, and all the duplicate issues and just issues that come with it... (In My Opinion) :D
     
  14. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    884
    Likes Received:
    171
    The solution for the attachment pages comes to 4 things.

    1. 301 Redirect attachment pages to Parent Post
    2. Set "noindex" to all attachment pages
    3. In my Media Library - delete all attachment pages which are set as "Unattached"
    4. De-Index all already Indexed Attachment Pages (Optional, because they will get de-indexed over time anyway)

    This will leave me with 11 Indexed posts + Homepage + Contact/Privacy/Archives

    I can't remember if I should noindex the Contact, Privacy Policy and Archives, so I'll just post it here to remember later to check my info or google it...


    Anyway, I don't think my solution for the attachment pages will change, unless someone here has a better solution or I come across some new enlightening information in a forum or a blog somewhere... but I doubt it, I did the research, I'm more like implementing now...
     
  15. keywordspot

    keywordspot Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 17, 2013
    Messages:
    4,311
    Likes Received:
    1,487
    Gender:
    Female
    Occupation:
    contenu visuel
    Location:
    At Hill Station
  16. ridersark

    ridersark Regular Member

    Joined:
    Nov 14, 2015
    Messages:
    316
    Likes Received:
    57
    Gender:
    Male
    Location:
    before the screen
    Had a few images in a table whose attachment pages got indexed.
    Have SEO by Yoast already installed and I guess it didn't work properly on this because of the permalink structure on my site.

    parent url: www.domainname.com/table
    attachment page url: www.domainname.com/attachment-1

    This particularly important because having several attachment pages in google index can cause a Panda penalty for having thin content.
    So here is what I did as a quick fix,

    Installed Quick Redirects plugin and Noindex Attachment Pages plugin.

    301 redirected those attachment pages to the original page in which that table was present.
    Resubmitted the sitemap.

    Now www.domainname.com/attachment-1 301 redirects to www.domainname.com/table

    By using 'Noindex Attachment Pages plugin' no such issues may arise in future.
    Also this plugin ONLY adds noindex and nofollow to the individual attachment pages.
    So images on your content pages will not be affected by this and will still be indexed.

    Check this for yourself;
    After installing this plugin, go to the attachment page and inspect the image element. Search for 'noindex' tag and you will find that its applied on this attachment page.
    No go to your original post/page where you have used this image and inspect the image. It is indexable and doesn't have any noindex and nofollow tags on it.

    Hope this helps.
     
    Last edited: Dec 29, 2015