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
-
Where to put 301 redirects in my Wordpress htaccess file?
I have about 25 301 redirects in my Wordpress htaccess file, that look like this: <code>Redirect301/store/index.html https://www.notesinspanish.com/store-home/</code> At the moment they are at the bottom of my htaccess file, below the usual Wordpress rewrite rules: <code># BEGIN WordPress <ifmodulemod_rewrite.c>RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress</ifmodulemod_rewrite.c></code> So they are below all that. Above my WP rewrite rules I have a number of other rules from plugins (caching, ssl). Are my 301's OK where they are at the very bottom of that file? They are working, and redircting pages correctly. Should they be somewhere else? Many thanks for any help. Thanks for any help.
Technical SEO | | Benspain0 -
How to remove Parameters from Google Search Console?
Hi All, Following are parameter configuration in search console - Parameters - fl
Technical SEO | | adamjack
Does this parameter change page content seen by the user? - Yes, Changes, reorders, or narrows page content.
How does this parameter affect page content? - Narrow
Which URLs with this parameter should Googlebot crawl? - Let Googlebot decide (Default) Query - Actually it is filter parameter. I have already set canonical on filter page. Now I am doing tracking of filter pages via data layer and tag manager so in google analytic I am not able to see filter url's because of this parameter. So I want to delete this parameter. Can anyone please help me? Thanks!0 -
Will removing the trailing slash impact my SEO?
Hi there, We have a company website based on Wordpress. I just noticed that under Settings > Permalinks I can configure the look of the URLs and even remove the trailing slash. We have about 2-300 pages online. If I remove the trailing slash now, will that negatively impact our SEO in anyway for existing pages? Thanks!
Technical SEO | | Amr-Haffar0 -
"Items 1 - 24 of 75" Appearing in Meta Description - How Do I Remove It?
Hey guys, I've noticed that the item count is appearing at the beginning of the meta description for our brand pages, e.g. "Items 1 - 24 of 75 -". The issue I have with this is that it reduces the character limit (due to truncation), consequently leaving me with little room to play with to include more useful information. Is there a way to remove this? Cheers, A
Technical SEO | | RobTucker0 -
Site removed from Google Index
Hi mozers, Two months ago we published http://aquacion.com We registered it in the Google Webmaster tools and after a few day the website was in the index no problem. But now the webmaster tools tell us the URLs were manually removed. I've look everywhere in the webmaster tools in search for more clues but haven't found anything that would help me. I sent the acces to the client, who might have been stupid enough to remove his own site from the Google index, but now, even though I delete and add the sitemap again, the website won't show in Google SERPs. What's weird is that Google Webmaster Tools tells us all the page are indexed. I'm totally clueless here... Ps. : Added screenshots from Google Webmaster Tools. Update Turns out it was my mistake after all. When my client developped his website a few months ago, he published it, and I removed the website from the Google Index. When the website was finished I submited the sitemap, thinking it would void the removal request, but it don't. How to solve In webmaster tools, in the [Google Index => Remove URLs] page, you can reinclude pages there. tGib0
Technical SEO | | RichardPicard0 -
Getting a link removed from brand search - please help!
Hello all you mozzers! Ive just come into work with an established company who have one major problem when you google "palicomp" the second link that comes up is to consumeractiongroup with a thread that has been damaging the business for over 2 years, this thread is absolutely not representative of the business today. Strangely stronger links in search have better authority but google has ranked this post as being highly relevant to the business, does anybody know of any strategies we can do to get this removed, we have contacted consumeractiongroup directly but they are not prepared to move it. Does anyone have any idea of removal ideas or what we can do its crippling our business, we cant work out as to why its ranking better! Chris
Technical SEO | | palicomp0 -
How do I add meta descriptions to Archives in Wordpress?
My most recent crawl returned a number of 'missing meta description' errors, and when I checked individual URLs, it turned out they were Wordpress Archived pages - for individual months and days (e.g. http:// .../2011/01). What's the best way to go about adding descriptions to these pages, if at all? Or should I have these pages not be indexed? I am using the All in One SEO plugin, so maybe there is an easy fix through this plugin, or it may be the cause of these errors? Any help is appreciated, thanks in advance! **EDIT After looking it up further, I have decided to use noindex for Archives, which should solve my problem right? Or is there a benefit to having those archived pages?
Technical SEO | | NetPicks0 -
Seomoz is showing duplicate page content for my wordpress blog
Hi Everyone, My seomoz crawl diagnostics is indicating that I have duplicate content issues in the wordpress blog section of my site located at: http://www.cleversplash.com/blog/ What is the best strategy to deal with this? Is there a plugin that can resolve this? I really appreciate your help guys. Martin
Technical SEO | | RogersSEO0