undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. Technical SEO
  4. Removing Media from Wordpress

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Removing Media from Wordpress

Technical SEO
4
9
994
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • emasaa
    emasaa last edited by Apr 26, 2013, 4:47 AM

    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?

    1 Reply Last reply Reply Quote 0
    • ThompsonPaul
      ThompsonPaul @evolvingSEO last edited by Apr 30, 2013, 10:50 PM Apr 30, 2013, 10:50 PM

      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 🙂

      1 Reply Last reply Reply Quote 1
      • evolvingSEO
        evolvingSEO @ThompsonPaul last edited by Apr 30, 2013, 10:40 PM Apr 30, 2013, 10:40 PM

        Ha! I'm trying to quit. _Again. _

        ThompsonPaul 1 Reply Last reply Apr 30, 2013, 10:50 PM Reply Quote 1
        • ThompsonPaul
          ThompsonPaul @emasaa last edited by Apr 30, 2013, 4:52 PM Apr 30, 2013, 4:52 PM

          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

          evolvingSEO 1 Reply Last reply Apr 30, 2013, 10:40 PM Reply Quote 1
          • evolvingSEO
            evolvingSEO @emasaa last edited by Apr 28, 2013, 10:38 AM Apr 28, 2013, 10:37 AM

            You're welcome Alex! I am having a coffee right now 😉

            Thanks so much to Paul and Brett too!

            1 Reply Last reply Reply Quote 0
            • emasaa
              emasaa last edited by Apr 27, 2013, 1:54 AM Apr 27, 2013, 1:54 AM

              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

              evolvingSEO ThompsonPaul 2 Replies Last reply Apr 30, 2013, 4:52 PM Reply Quote 1
              • evolvingSEO
                evolvingSEO last edited by Apr 26, 2013, 11:29 PM Apr 26, 2013, 11:27 PM

                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;

                1. Moving forward, don't select "attachment page" when uploading media.
                2. Use Yoast to noindex media pages.
                3. Use Yoast to add a title and description template to media pages, in case they still get indexed.

                Hope that helps!

                -Dan

                1 Reply Last reply Reply Quote 2
                • ThompsonPaul
                  ThompsonPaul last edited by Apr 26, 2013, 3:58 PM Apr 26, 2013, 3:58 PM

                  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

                  1 Reply Last reply Reply Quote 2
                  • BrettCollins
                    BrettCollins last edited by Apr 26, 2013, 11:20 AM Apr 26, 2013, 11:20 AM

                    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!

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    1 out of 9
                    • First post
                      1/9
                      Last post

                    Got a burning SEO question?

                    Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                    Start my free trial


                    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.

                    • See all categories

                    Related Questions

                    • vikasnwu

                      Using 410 To Remove URLs Starting With Same Word

                      We had a spam injection a few months ago.  We successfully cleaned up the site and resubmitted to google.  I recently received a notification showing a spike in 404 errors. All of the URLS have a common word at the beginning injected via the spam: sitename.com/mono
                      sitename.com/mono.php?buy-good-essays
                      sitename.com/mono.php?professional-paper-writer There's about 100 total URLS with the same syntax with the word "mono" in them.  Based on my research, it seems that it would be best to serve a 410.  I wanted to know what the line of HTACCESS code would be to do that in bulk for any URL that has the word "mono" after the sitename.com/

                      Technical SEO | Nov 4, 2018, 10:46 PM | vikasnwu
                      0
                    • vmsolu

                      How to redirect 302 status to 301 status code using wordpress

                      I just ran the link opportunity option within site explorer and it shows that 31 pages are currently in a 302 status.  Should I try to convert the 302's to 301's?  And what is the easiest way to do this? I see several wordpress plugins that claim to do 301 redirects but I don't know which to choose. Any help would be greatly appreciated!

                      Technical SEO | May 29, 2015, 9:42 PM | vmsolu
                      0
                    • Silviu

                      Removing a large number of unnecessary pages from a site

                      Hi all, I got a big problem with my website. I have a lot of page, duplicate page made from various combinations of selects, and for all this duplicate content we've be hit by a panda update 2 years ago. I don't want to bring new content an all of these pages, about 3.000.000, because most of them are unnecessary. Google indexed all of them (3.000.000), and I want to redirect the pages that I don't need anymore to the most important ones. My question, is there any problem in how google will see this change, because after this it will remain only 5000-6000 relevant pages?

                      Technical SEO | May 21, 2015, 1:29 PM | Silviu
                      0
                    • TomPryor83

                      Wordpress BackupBuddy adding ?doing_wp_cron= in URLS

                      Hi Has anyone found WordPress Backup Buddy causing a problem with SEO. I understand why it does it, but wondered if anyone experienced issues with this? Only sometimes it adds /?doing_wp_cron=****** on to the end of a URL Thanks Tom

                      Technical SEO | Apr 15, 2014, 12:55 PM | TomPryor83
                      1
                    • ulefos

                      Remove html file extension and 301 redirects

                      Hi Recently I ask for some work done on my website from a company,  but I am not sure what they've done is right.
                      What I wanted was html file extensions to be removed like
                      /ash-logs.html to /ash-logs
                      also the index.html to www.timports.co.uk
                      I have done a crawl diagnostics and have duplicate page content and 32 page title duplicates. This is so doing my head in please help This is what is in the .htaccess file <ifmodule pagespeed_module="">ModPagespeed on
                      ModPagespeedEnableFilters extend_cache,combine_css, collapse_whitespace,move_css_to_head, remove_comments</ifmodule> <ifmodule mod_headers.c="">Header set Connection keep-alive</ifmodule> <ifmodule mod_rewrite.c="">Options +FollowSymLinks -MultiViews</ifmodule> DirectoryIndex index.html RewriteEngine On 
                       # Rewrite valid requests on .html files  RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^ %{REQUEST_URI}.html?rw=1 [L,QSA] 
                       # Return 404 on direct requests against .html files RewriteCond %{REQUEST_URI} .html$  
                      RewriteCond %{QUERY_STRING} !rw=1 [NC]
                       RewriteRule ^ - [R=404] AddCharset UTF-8 .html # <filesmatch “.(js|css|html|htm|php|xml|swf|flv|ashx)$”="">#SetOutputFilter DEFLATE #</filesmatch> <ifmodule mod_expires.c="">ExpiresActive On
                      ExpiresByType image/gif "access plus 1 years"
                      ExpiresByType image/jpeg "access plus 1 years"
                      ExpiresByType image/png "access plus 1 years"
                      ExpiresByType image/x-icon "access plus 1 years"
                      ExpiresByType image/jpg "access plus 1 years"
                      ExpiresByType text/css "access 1 years"
                      ExpiresByType text/x-javascript "access 1 years"
                      ExpiresByType application/javascript "access 1 years"
                      ExpiresByType image/x-icon "access 1 years"</ifmodule> <files 403.shtml="">order allow,deny allow from all</files> redirect 301 /PRODUCTS http://www.timports.co.uk/kiln-dried-logs
                      redirect 301 /kindling_firewood.html http://www.timports.co.uk/kindling-firewood.html
                      redirect 301 /about_us.html http://www.timports.co.uk/about-us.html
                      redirect 301 /log_delivery.html http://www.timports.co.uk/log-delivery.html redirect 301 /oak_boards_delivery.html http://www.timports.co.uk/oak-boards-delivery.html
                      redirect 301 /un_edged_oak_boards.html http://www.timports.co.uk/un-edged-oak-boards.html
                      redirect 301 /wholesale_logs.html http://www.timports.co.uk/wholesale-logs.html redirect 301 /privacy_policy.html http://www.timports.co.uk/privacy-policy.html redirect 301 /payment_failed.html http://www.timports.co.uk/payment-failed.html redirect 301 /payment_info.html http://www.timports.co.uk/payment-info.html

                      Technical SEO | Apr 11, 2013, 10:03 AM | ulefos
                      1
                    • TomLondon

                      Pages removed from Google index?

                      Hi All, I had around 2,300 pages in the google index until a week ago. The index removed a load and left me with 152 submitted, 152 indexed? I have just re-submitted my sitemap and will wait to see what happens. Any idea why it has done this? I have seen a drop in my rankings since. Thanks

                      Technical SEO | Mar 25, 2013, 5:36 PM | TomLondon
                      0
                    • amit.ganguly

                      How to remove the 4XX Client error,Too many links in a single page Warning and Cannonical Notices.

                      Firstly,I am getting around 12 Errors in the category 4xx Client error. The description says that this is either bad or a broken link.How can I repair this ? Secondly, I am getting lots of warnings related to too many page links of a single page.I want to know how to tackle this ? Finally, I don't understand the basics of Cannonical notices.I have around 12 notices of this kind which I want to remove too. Please help me out in this regard. Thank you beforehand. Amit Ganguly http://aamthoughts.blogspot.com   - Sustainable Sphere

                      Technical SEO | Jun 19, 2012, 11:25 AM | amit.ganguly
                      0
                    • ErnieB

                      Subdomain Removal in Robots.txt with Conditional Logic??

                      I would like to see if there is a way to add conditional logic to the robots.txt file so that when we push from DEV to PRODUCTION and the robots.txt file is pushed, we don't have to remember to NOT push the robots.txt file OR edit it when it goes live. My specific situation is this: I have www.website.com, dev.website.com and new.website.com and somehow google has indexed the DEV.website.com and NEW.website.com and I'd like these to be removed from google's index as they are causing duplicate content. Should I: a) add 2 new GWT entries for DEV.website.com and NEW.website.com and VERIFY ownership - if I do this, then when the files are pushed to LIVE won't the files contain the VERIFY META CODE for the DEV version even though it's now LIVE? (hope that makes sense) b) write a robots.txt file that specifies "DISALLOW: DEV.website.com/" is that possible? I have only seen examples of DISALLOW with a "/" in the beginning... Hope this makes sense, can really use the help!  I'm on a Windows Server 2008 box running ColdFusion websites.

                      Technical SEO | Oct 17, 2011, 4:36 PM | ErnieB
                      0

                    Get started with Moz Pro!

                    Unlock the power of advanced SEO tools and data-driven insights.

                    Start my free trial
                    Products
                    • Moz Pro
                    • Moz Local
                    • Moz API
                    • Moz Data
                    • STAT
                    • Product Updates
                    Moz Solutions
                    • SMB Solutions
                    • Agency Solutions
                    • Enterprise Solutions
                    Free SEO Tools
                    • Domain Authority Checker
                    • Link Explorer
                    • Keyword Explorer
                    • Competitive Research
                    • Brand Authority Checker
                    • Local Citation Checker
                    • MozBar Extension
                    • MozCast
                    Resources
                    • Blog
                    • SEO Learning Center
                    • Help Hub
                    • Beginner's Guide to SEO
                    • How-to Guides
                    • Moz Academy
                    • API Docs
                    About Moz
                    • About
                    • Team
                    • Careers
                    • Contact
                    Why Moz
                    • Case Studies
                    • Testimonials
                    Get Involved
                    • Become an Affiliate
                    • MozCon
                    • Webinars
                    • Practical Marketer Series
                    • MozPod
                    Connect with us

                    Contact the Help team

                    Join our newsletter
                    Moz logo
                    © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                    • Accessibility
                    • Terms of Use
                    • Privacy

                    Looks like your connection to Moz was lost, please wait while we try to reconnect.