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. Link Building
    4. Is there a way to easily add "domain:" in front of an entire list of domains you want to disavow?

    Is there a way to easily add "domain:" in front of an entire list of domains you want to disavow?

    Link Building
    8 3 445
    • 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.
    • MarieHaynes
      MarieHaynes last edited by

      I'm submitting some disavow reports for clients.  As most of you likely know you can either disavow a URL or a domain.  So, to disavow a url, you would enter into the text file:

      http://www.example.com/this_page.html

      and to disavow the entire domain you would enter:

      domain:example.com

      I find that in most cases you would want to disavow the domain.  For example, if there is a backlink on www.exampledirectory.com/health/page24/, by the time Google goes to disavow that link it may be on page 25.

      However, it is super time consuming to take my list of urls from a spreadsheet and type, "domain:" in front and also remove the http://www.

      Is there a way this can be done programatically?

      1 Reply Last reply Reply Quote 0
      • Andy.Drinkwater
        Andy.Drinkwater last edited by

        Just do a find and replace in Excel...

        Find http://www

        Replace with domain:

        Then hit "replace all" - It will go off and do them all for you.

        Andy

        1 Reply Last reply Reply Quote 1
        • JamesAgate
          JamesAgate last edited by

          Hi Marie,

          Quite easily actually...

          In MS Excel, all you have to do is move your list of domains to column B and in column A enter domain: once say in this case in cell A2

          Then in column C enter this formula =CONCATENATE($A$2,B2)

          You should then be able to drag down in the usual way to replicate the formula. It will retain the A2 cell but change B each time and you'll get a list of domain:http://exampledomain.com in column C.

          Andy (above) has explained how to do the other part of your question.

          Let me know if you have any problems.

          All the best,

          James

          1 Reply Last reply Reply Quote 2
          • MarieHaynes
            MarieHaynes last edited by

            Thanks so much Andy and James!  I really should invest some time in learning more about spreadsheets!

            I work from a Mac...do you know if I can do the same thing either on Google Docs or on Numbers?

            Andy.Drinkwater JamesAgate 2 Replies Last reply Reply Quote 0
            • Andy.Drinkwater
              Andy.Drinkwater @MarieHaynes last edited by

              I'm on a Mac as well Marie but have MS Excel so can't help you on the others I'm afraid.

              However, if you get stuck, you are more than welcome to mail me the spreadsheet and I will do the find and replace for you, then mail it back again.

              Andy

              MarieHaynes 1 Reply Last reply Reply Quote 1
              • JamesAgate
                JamesAgate @MarieHaynes last edited by

                You should be able to use the concatenate formula in the same way except I am not sure if the $ will behave in the same way. Try it and see 🙂

                MarieHaynes 1 Reply Last reply Reply Quote 0
                • MarieHaynes
                  MarieHaynes @Andy.Drinkwater last edited by

                  Aw, thanks.  Hopefully I can figure this out.  But if not, I'll be in touch.  🙂

                  1 Reply Last reply Reply Quote 0
                  • MarieHaynes
                    MarieHaynes @JamesAgate last edited by

                    Great!  I'll let you know how it works out.  It'll be a couple of days before I'm done the current link audit so I'll report back after that.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • My Domain has a couple of badlinks decreasing my rankings, will disavowing them reduce my Domain Authority on Moz?
                      BlueprintMarketing
                      BlueprintMarketing
                      0
                      5
                      105

                    • To disavow or not to disavow
                      mgane
                      mgane
                      0
                      11
                      1.4k

                    • DISAVOW domains by error
                      BCutrer
                      BCutrer
                      0
                      2
                      85

                    • Appropriate way to do the "Link to us" stuff.
                      DennisSeymour
                      DennisSeymour
                      0
                      3
                      102

                    • Still worth it to get listed on "resources" pages
                      imcolej
                      imcolej
                      0
                      7
                      133

                    • How to increase "domain authority" in opensite explorer?
                      William.Lau
                      William.Lau
                      0
                      2
                      415

                    • Difference between rel="nofollow" and rel="no follow"
                      DDL
                      DDL
                      0
                      5
                      1.5k

                    • Does the feature "Competitive Domain Analysis " include subdomains?
                      AlanMosley
                      AlanMosley
                      0
                      4
                      312

                    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