The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Removing Media from Wordpress

    Removing Media from Wordpress

    Technical SEO Issues
    9 4 233
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • emasaa
      emasaa last edited by

      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
      • BrettCollins
        BrettCollins last edited by

        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
        • ThompsonPaul
          ThompsonPaul last edited by

          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
          • evolvingSEO
            evolvingSEO last edited by

            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
            • emasaa
              emasaa last edited by

              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 Reply Quote 1
              • evolvingSEO
                evolvingSEO @emasaa last edited by

                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
                • ThompsonPaul
                  ThompsonPaul @emasaa last edited by

                  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 Reply Quote 1
                  • evolvingSEO
                    evolvingSEO @ThompsonPaul last edited by

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

                    ThompsonPaul 1 Reply Last reply Reply Quote 1
                    • ThompsonPaul
                      ThompsonPaul @evolvingSEO last edited by

                      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
                      • 1 / 1
                      • First post
                        Last post
                      • How i can remove 404 redirect error (Wordpress)
                        nichehackathon1
                        nichehackathon1
                        0
                        5
                        405

                      • Using the Google Remove URL Tool to remove https pages
                        sparrowdog
                        sparrowdog
                        1
                        3
                        5.9k

                      • Remove remove
                        KeriMorgret
                        KeriMorgret
                        0
                        4
                        110

                      • Wordpress Pods and Wordpress SEO by Yoast
                        Ron_McCabe
                        Ron_McCabe
                        1
                        7
                        1.1k

                      • Remove Directory
                        eyepaq
                        eyepaq
                        0
                        2
                        79

                      • Wordpress question
                        DavidKonigsberg
                        DavidKonigsberg
                        0
                        2
                        255

                      • Wordpress noindex
                        JonathanRolande
                        JonathanRolande
                        0
                        15
                        2.6k

                      • What code do I need to remove Comments Rss from Wordpress?
                        gfiorelli1
                        gfiorelli1
                        0
                        3
                        1.2k

                      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
                      • Digital Marketers
                      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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                      • Accessibility
                      • Terms of Use
                      • Privacy