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
-
Moving wordpress to it's own server
Our company wants to remove wordpress from our current windows OS server at provider 1 and move it to a new server at provider 2. Godaddy handles our DNS. I would like to have it on the same domain without masking. I would like to make a DNS entry on godaddy so that our current server and our new server can use the same URL (ie sellstuff.com). But I only want the DNS to direct traffic to our current server. The goal here is to have the new server using the same URL as the old server so nothing needs to be masked once traffic is redirected with a 301 rule in the htaccess file. But no traffic outside of the 301 rule will end up going to the new server. I would then like to edit the htaccess file on our current server to redirect to the new servers IP address when someone goes to sellstuff.com/blog. Does this make since and is it possible?
Technical SEO | | larsonElectronics0 -
Why does my site have so many crawl errors relating to the wordpress login / captcha page
Going through the crawl of my site, there were around 100 medium priority issues, such as title element too short, and duplicate page title, and around 80 high priority issues relating to duplicate page content - However every page listed with these issues was the site's wordpress login / captcha page. Does anyone know how to resolve this?
Technical SEO | | ZenyaS0 -
Should you use google url remover if older indexed pages are still being kept?
Hello, A client recently did a redesign a few months ago, resulting in 700 pages being reduced to 60, mostly due to panda penalty and just low interest in products on those pages. Now google is still indexing a good number of them ( around 650 ) when we only have 70 on our sitemap. Thing is google indexes our site on average now for 115 urls when we only have 60 urls that need indexing and only 70 on our sitemap. I would of thought these urls would be crawled and not found, but is taking a very long period of time. Our rankings haven't recovered as much as we'd hope, and we believe that the indexed older pages are causes this. Would you agree and also would you think removing those old urls via the remover tool would be best option? It would mean using the url remover tool for 650 pages. Thank you in advance
Technical SEO | | Deacyde0 -
Squarespace or Wordpress for a Photographer
Hi, I was wondering if people would recommend squarespace or wordpress for a photographer. I'm mainly curious about how wordpress uses internal links for their images and squarespace images exist on http://static1.squarespace.com. Wouldn't a photographers website, one that focuses on images, be better on wordpress for this readson?
Technical SEO | | mattdinbrooklyn1 -
Removed .html - Now Get Duplicate Content
Hi there, I run a wordpress website and have removed the .html from my links. Moz has done a crawl and now a bunch of duplicated are coming up. Is there anything I need to do in perhaps my htaccess to help it along? Google appears to still be indexing the .html versions of my links
Technical SEO | | MrPenguin0 -
Site dropped after I removed spammy KW-stuffed section from homepage
An SEO newbie. I took a sabbatical from my site for 10 months for personal reasons & I'm now coming back to it for the first time and facing a number of issues that I'd appreciate some advice on. 1) In the past week, my rankings for my main keywords have suddenly plummeted from ~#7 - #8 to about #25. The only thing I've done in that time is sign up for Google Webmaster Tools and clean up a spammy-looking keyword-stuffed section at the foot of my homepage. (It read: Red keyword | blue keyword | green keyword | yellow keyword ... 20 times). I've kept the links (to internal pages of my site) but removed keywords. I've no social presence whatsoever. No Twitter, Facebook, Digg, G+, Google Places, nothing -- but I can't imagine this is behind the sudden drop. 2) Last year my rankings start to fall in late April. But for the first two months or so the drop was only from #1 to #2 - #3. I put it down to Penguin as my backlink profile is not ideal. About 5 years ago some SEO got me a mass of sitewide blog footer links with exact-match anchors -- some of which still remain. (Some domains have 750-plus links pointing back to my site). I've a sitewide banner (2,500 pages) on a site with a related theme to mine. I've loads of links from article directory sites (from when I knew no better). * Question: In Google Webmaster Tools I have not (yet?) received an unnatural links warning. Should I still clean up the links with the Link Disavow tool?
Technical SEO | | Jeepster0 -
The best managed hosting companies for WordPress
I'm looking for a reliable managed hosting company specializing in hosting WordPress sites with 24-hour phone support. What companies would you recommend?
Technical SEO | | translate0 -
WordPress Pretty Permalinks vs Site Speed
A couple of issues at play here as I wrestle with the best permalink structure for a site I'm toying with now. 1. I know that WordPress wants a unique number in the post to improve performance and db calls. 2. I know that for basic on-page SEO, most of us would opt for CATEGORY/POST or maybe even just post. I constantly change those. It's a bad habit, but sometimes you want the killer headline and a decent title in the post. So here is the issue: I can rewrite or use a plugin (anyone have a favorite) the permalinks to speed up site performance. We all know Google wants that. Maybe the permalink becomes /1234-foo But you know, a number in front of the URL just isn't awfully user friendly. If someone wants to read the foo post, it's nice to send them directly there. So would you trade off a slowdown in site speed for the prettiest permalinks for usability and SEO? And since you're asking a WP question, has anyone heard of a hard cap on static pages where the database starts dragging? The site I have in mind has 400 each posts and pages. Would moving platforms to Drupal or Joomla allow handling that many pages more effectively? Thanks for contributing and any help you can give. George
Technical SEO | | georgebounacos0