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
    • MozCon
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Digital Marketers
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • 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.

    Track AI Overviews in Keyword Research
    Moz Pro

    Track AI Overviews in Keyword Research

    Try it free!
  • 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
    • Digital Marketers

      Simplify SEO tasks to save time and grow your traffic.

    • 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.

    • 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
1.0k
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

                    • Chris_Wright

                      Removing a site from Google index with no index met tags

                      Hi there! I wanted to remove a duplicated site from the google index. I've read that you can do this by removing the URL from Google Search console and, although I can't find it in Google Search console, Google keeps on showing the site on SERPs. So I wanted to add a "no index" meta tag to the code of the site however I've only found out how to do this for individual pages, can you do the same for a entire site? How can I do it? Thank you for your help in advance! L

                      Technical SEO | Nov 29, 2019, 10:07 AM | Chris_Wright
                      1
                    • Dreamrealemedia

                      Move a Wordpress Site to HTTPS with Bluehost

                      HI Guys, do you think that the following guide is enoght to move a bluehost wordpress site to https in a seo best practive way? https://www.shoutmeloud.com/free-ssl-certificate-bluehost-hosting.html Basically their steps are: Install SSL on Bluehost panel Install Really Simple SSL Wp Plugin Edit Your .htacess File & Add The Code For HTTP To HTTPS Redirection Update All HTTP URLs In Database To HTTPS Using Search and Replace Plugin Use Broken Link Checker plugin & use its redirection module to find links to 3rd party sites with HTTP that should now be HTTPS. Last thing to do Submit your new HTTPS site to Google Search Console & submit your sitemap. Update your profile link on Google Analytics. Update your website links on social media profiles & anywhere else they exist. This step you can do in pieces in the coming days. Read this guide to learn more about HTTP to HTTPS migration & fixing mixed content. If you disabled Who.Is guard for your domain name, you can enable it now. Do you know a better practical guide for wordrpess? in term of usefull plugins to handle the migration? Tx to everyone!

                      Technical SEO | Jul 30, 2018, 8:03 AM | Dreamrealemedia
                      0
                    • Uber_

                      Add trailing slash after removing .html extention

                      My website is non www ,it has wordpress in subdirectory and some static webpages in the root and other subdirectory 1. i want to remove .html extention from the webpages in the root and
                      the others static webpages in subdirectory.
                      2. add slash at the end.
                      3. 301 redirect from non slash to url with slash. so it should be http://ghadaalsaman.com/articles.html to http://ghadaalsaman.com/articles/ and http://ghadaalsaman.com/en/poem-list.html to http://ghadaalsaman.com/en/poem-list/ the below code 1. working with non slash at the end **2. **redirect 301 url with slash to non here's my .htaccess <ifmodule mod_rewrite.c="">Options +FollowSymLinks -MultiViews RewriteEngine On
                      RewriteBase /</ifmodule> #removing trailing slash
                      RewriteCond %{REQUEST_FILENAME} !-d     
                      RewriteRule ^(.*)/$ $1 [R=301,L] #www to non
                      RewriteCond %{HTTP_HOST} ^www.(([a-z0-9_]+.)?domain.com)$ [NC]
                      RewriteRule .? http://%1%{REQUEST_URI} [R=301,L] #html
                      RewriteCond %{REQUEST_FILENAME} !-f
                      RewriteCond %{REQUEST_FILENAME} !-d
                      RewriteRule ^([^.]+)$ $1.html [NC,L] #index redirect
                      RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP/
                      RewriteRule ^index.html$ http://ghadaalsaman.com/ [R=301,L]
                      RewriteCond %{THE_REQUEST} .html
                      RewriteRule ^(.*).html$ /$1 [R=301,L] PS everything is ok with the wordpress , the problems with static pages only. Thanks in advanced

                      Technical SEO | Jul 31, 2016, 7:51 PM | Uber_
                      0
                    • Amr-Haffar

                      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 | Apr 7, 2015, 10:28 AM | Amr-Haffar
                      0
                    • howlusa

                      Will deleting Wordpress tags result in 404 errors or anything?

                      I want to clean up my tags and I'm worried I'm going to look in my webmasters the next day with hundreds of errors. Whats the best way of doing this?

                      Technical SEO | Jul 24, 2018, 10:03 PM | howlusa
                      0
                    • CsmBill

                      How do I add "noindex" or "nofollow" to a link in Wordpress

                      It's been a while since I've SEOed a Wordpress site. How do I add "nofollow" or "noindex" to specific links? I highlight the anchor text in the text editor, I click the "link" button. I could have sworn that there used to be an option in the dialogue box that pops up.

                      Technical SEO | Apr 23, 2013, 12:26 PM | CsmBill
                      0
                    • JaredMumford

                      Removing URL Parentheses in HTACCESS

                      Im reworking a website for a client, and their current URLs have parentheses. I'd like to get rid of these, but individual 301 redirects in htaccess is not practical, since the parentheses are located in many URLs. Does anyone know an HTACCESS rule that will simply remove URL parantheses as a 301 redirect?

                      Technical SEO | Nov 26, 2012, 6:35 PM | JaredMumford
                      0
                    • Veva

                      Can I remove 301 redirects after some time?

                      Hello, We have an very large number of 301 redirects on our site and would like to find a way to remove some of them. Is there a time frame after which Google does not need a 301 any more? For example if A is 301 redirected to B, does Google know after a while not to serve A any more, and replaces any requests for A with B? How about any links that go to A? Or: Is the only option to have all links that pointed to A point to B and then the 301 can be removed after some time? Thank you for you you help!

                      Technical SEO | Oct 1, 2012, 5:16 PM | Veva
                      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
                    • 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 - 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.