Removing Media from Wordpress
-
I've run the seomoz on page report and found an interesting issue.
I'm using wordpress and it seems that every picture I add to my articles seem to be added as separate pages to the site.
I'm having to go to each and every picture and creating a meta tag and description to it. I still get duplicate content issues with the same.
On my Disqus system, I get the same pictures added just as a page or article would look like.
What can I do to avoid this?
-
I actually never learned to enjoy coffee, so it's no sacrifice at all. But you'll have to pry my Earl Grey from my cold dead hands
-
Ha! I'm trying to quit. _Again. _
-
Great that you got what you were looking for, Alex. Looks like you got a bunch of useful info from the responses. Would be great if you could designate the replies you found were "good answers", both to reward the author and to help future readers of the question.
And I had a mug of tea in your honour - not going near that coffee stuff
Paul
-
You're welcome Alex! I am having a coffee right now
Thanks so much to Paul and Brett too!
-
I don't know what to say. Sometimes there are easy solutions to seemingly impossible problems.
I can't say how grateful I am for you guys and the seomoz community. You have saved me from having to deal with about 10000 pages that had totally stumped me.
Have a coffee latte on me and thank you.
Alex
-
Hi Alex
What both Brett and Paul said is correct. Let me break it down for you a little more.
When Adding Media
- when you add your image - DON'T select "attachment page" - screenshot
Here's what each option does;
- custom URL - you can link the image to anything you want - an external link, another internal post, or to the source of the image itself if you need to attribute credit.
- media file - this is for if you click on the image, it just opens the actual image file. this is totally harmless, and in some cases many people like it, as it allows you to see the image larger. this is the one I usually choose by default.
- attachment page - that's the one giving you problems. it creates a new page for every image. so I never use this choice.
- none - no link as used at all. you can't click on the picture or anything.
Noindex Media
With the Yoast SEO plugin, you can also noindex media pages. See this screenshot for how to do so.
The means, no matter if you still end up with some media/photo pages indexed and missing titles etc, it won't be an issue.
Recap
OK - here's your steps;
- Moving forward, don't select "attachment page" when uploading media.
- Use Yoast to noindex media pages.
- Use Yoast to add a title and description template to media pages, in case they still get indexed.
Hope that helps!
-Dan
-
This situation is quite easy to resolve if you are using the Yoast WordPress SEO plugin.
Under the plugin's settings, go to the Permalink Settings page. The second section down offers the option to "Redirect attachment URLs to parent post URL." Put a checkmark in the box, click Save, and from now on, those individual image-only pages will automatically redirect back to the post on which they appear.
No idea if the same option is available in other SEO plugins - I've so long standardised on Yoast's plugin I'm not up to date on the others any more.
Brett's point about changing where images link will also work, but the plugin approach above means you don't have to go back an retroactively edit all your images.
Hope that helps?
Paul
-
I think when you are adding images to your site, you are setting them to Link to: Current Url rather than Media File or None. If you go back and edit your old images and make sure they are linking to the image or have no iink at all, I think you should be fine. Hope this helps!
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Removing Multiple 301 Redirects
During my last redesign (and migration to Drupal) some of the updated SEO friendly url's on the new site were misspelled. Rather than updating the 301 redirects to point to the correct page the developer just added an additional 301 redirect. So it was redirected like this website.com/oldpage (301 to) website.com/new-paige (301 to) website.com/new-page Instead of website.com/oldpage (301 to) website.com/new-page I'll be finishing another redesign and updating to https soon, should I remove the redirect to the misspelled domain and just have one 301 from the original page? These multiple redirects have been up for over a year. Thanks for any specific advice!
Technical SEO | | talltrees0 -
Can I speed up removal of cache for 301'd page on unverified website?
I recently asked another website to remove a page from their website (I have no control over this website) and they have now 301'd this old URL to another - this is just what I wanted. My only aim now is to see the Google cache removed for that page as quickly as possible.
Technical SEO | | Mark_Reynolds
I'm not sure that asking the website to remove the url via WMT is the right way to go and assume I should just be waiting for Google to pick up the 301 and naturally remove the cache. But are there any recommended methods I can use to speed this process up? The old URL was last cached on 3 Oct 2014 so not too long ago. I don't think the URL is linked from any other page on the Internet now, but I guess it would still be in Google's list of URLs to crawl. Should I sit back and wait (who knows how long that would take?) or would adding a link to the old URL from a website I manage speed things up? Or would it help to submit the old URL to Google's Submission tool? URL0 -
Wordpress vs. home grown directory
I just moved my blog from a wordpress hosted solution to my owner server and am really hopeful that all the SEO ready wordpress pages plus I downloaded Yoast SEO will move my site. I started with 9000 pages being moz indexed with tons of errors eyerywhere, I have almost fixed everything getting ready to do a google index. One question. I have a directory of businesses and events for my local mountain community that is home grown with about 200 pages. see here: http://www.destinationbigbear.com/directory/bigbeardirectory.aspx which has a PA of 21 which is the same as my DA 21 (I know terrible)... Should I migrate these 200 pages with images to wordpress to take advantage of all the nice SEO possibilities? I have staff and it would probably take about $600 bucks to do it. I would only have to put about ten 301's such as http://www.destinationbigbear.com/directory/contentcat.aspx?ParentID=7 would be http://www.destinationbigbear.com/big-bear-restaurants/ Thank you again to all, I am hopeful I can answer some questions in the future for people... I am learning alot! Nick
Technical SEO | | nickcargill0 -
Wordpress Woocomerce Recommended SEO URL structure
Hi Mozzers ! Thanks for looking. I have a new shop in development (http://www.vintageheirloom.biz), I'm now using WordPress & Woocommerce. I've asked Woocommerce whether it is possible to remove the 'shop' and 'product-category' categories. They say it is, but it isn't recommended, it can slow site speed & create possible duplicate pages. I'm wondering what seasoned SEO experts opinions are on my particular structure? I've heard that a flat structure is recommended, but ecommerce shops as I understand pose their own issues, so any feedback would be appreciated.. Here's some URL examples: http://vintageheirloom.biz/shop/bags/ - this for the category bags http://vintageheirloom.biz/product-category/bags/shoulder-bags/ - this for shoulder bags a child of bags category http://vintageheirloom.biz/shop/2-55-bags/vintage-chanel-caviar-skin-2-55-bag/ - a product The last URL contains the category 2-55 bags. The products name also includes the phrases 2-55 bag. Should this level of repetition be avoided or is it best to keep the whole phrase 'vintage-chanel-caviar-skin-2-55-bag/' for SEO purposes? Thanks for any help you can give me around this issue! Kevin
Technical SEO | | well-its-1-louder0 -
Removal of all low PR links
I have a lot of old directory links which where done years ago, most I think will be effecting my site. Is there away to find them all ie through open explorer and then remove them in one go?
Technical SEO | | Cocoonfxmedia0 -
Will invalid HTML code generated by WordPress affect SEO efforts?
Hi all, I'm new to SEOmoz and SEO in general really. I run a small but well regarded freelance website and graphic design business, and until very recently had an employee who handled the SEO side of things. I'm now looking to step into this role myself and hopefully learn the in's and out's of SEO. I've no doubt there will be much to learn, but the SEOmoz tools and it's community seem excellent and helpful. My question then is basically, if WordPress generated HTML code can have an effect on SEO, when it's reported as invalid by tools such as the W3C HTML validator? I'm used to hand coding the majority of my websites for clients, where creating valid HTML and CSS code is something I can do with relative ease. A new client however wants to use WordPress - for ease of updating the site content themselves. The client does however consider any potential SEO implications to be a very important factor in choosing a hand coded vs. WordPress based website. I am aware that WordPress itself is just a means of generating HTML code, and that to the search engines there is no difference between this and the hand coded websites I usually produce. However if WordPress is generating HTML that is being reported as invalid, would this make the search engines penalise the site? On a second note, will the search engines look negatively on a WordPress site where it is being used as a standard website, and the content may not be updated as frequently, as say, a blog? Thanks for your time, and I look forward to hearing your suggestions.
Technical SEO | | SavilleWolf0 -
301 redirect on wordpress.com
Hi, How/where do I input a 301 redirect for my http site within wordpress.com. I am already redirecting my wordpress url to myy new non wordpress domain Thanks Lisa
Technical SEO | | lisamarieCunn0 -
Speed up the process of removing URLs from Google Index
Hi guys, We have done some work to try to remove pages from Google index. We have done the following: 1. Noindex tag 2. Make pages returning a 404 response. Is there anyway to notify Google about these changes so we can speed up the process of removing these pages from Google index? Also regarding the URL removal tool, Google says that it's used to remove URLs from search results, does it mean the URLs are removed from their index too? Many thanks guys David
Technical SEO | | sssrpm0