• majorAlexa

        See all notifications

        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.

          Let your business shine with Listings AI
          Moz Local

          Let your business shine with Listings AI

          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
          • 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
        • 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. Home
        2. Research & Trends
        3. White Hat / Black Hat SEO
        4. Can you block backlinks from another domain

        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.

        Can you block backlinks from another domain

        White Hat / Black Hat SEO
        4
        4
        2497
        Loading More Posts
        • Watching

          Notify me of new replies.
          Show question in unread.

        • Not Watching

          Do not notify me of new replies.
          Show question in unread if category is not ignored.

        • Ignoring

          Do not notify me of new replies.
          Do not show question in unread.

        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as question
        Locked
        This topic has been deleted. Only users with question management privileges can see it.
        • phatride
          phatride last edited by

          Wondering if this is somehow possible. A site got hacked and created a /data folder with hundreds of .php files that are web pages selling all sorts of stuff.

          We deleted the /data folder and blocked Google from indexing it.

          Just noticed in Webmaster Tools that the site has 35,000 backlinks from other sites that got hacked with the same way.

          Is there a way to block these sites? I am assuming there isn't, but wanted to see if anyone ran into the same problem.

          It is a wordpress site is that helps.

          1 Reply Last reply Reply Quote 0
          • KeriMorgret
            KeriMorgret last edited by

            Both Ryan and Yannick have good answers here. In addition, if you get a notice from Google in your webmaster tools or seem to have a penalty, you might file a reconsideration request and let Google know you were hacked but now have everything cleaned up.

            If you look online, you can find several resources that help to keep your Wordpress site from being hacked and test its security.

            1 Reply Last reply Reply Quote 0
            • YannickVeys
              YannickVeys last edited by

              When you're running Wordpress, the best way you can "block" these sites, is to keep updating wordpress as new updates roll out. I think you mean that by: block these sites.

              They're sites from hackers who hack old Wordpress sites that have known vulnerabilities. Updating your site will solve that issue, as that's one of the things that gets fixed when you update your core files.

              Hope this helps.

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

                I am not clear on your question.

                It sounds like your site was hacked and new web pages were added to your site. You discovered the problem and removed the added pages, thereby removing the links they created.

                When you ask "Can you block backlinks from another domain", who owns the domain which have the web pages with the links? When you ask to "block" the links, block how? from whom?

                My best guess is you are worried about being hacked again by the same group. It sounds like you have blocked the /data folder in robots.txt so if the same group hacked your site in the same way, the pages would not be seen or crawled by Google nor Bing since you have it blocked. If they used a new directory, that solution would not work. The best approach is to upgrade your site's security and have it tested. Change all passwords, etc.

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post

                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

                • ShawnW

                  Sitewide nav linking from subdomain to main domain

                  I'm working on a site that was heavily impacted by the September core update. You can see in the attached image the overall downturn in organic in 2019 with a larger hit in September bringing Google Organic traffic down around 50%. There are many concerning incoming links from 50-100 obviously spammy porn-related websites to just plain old unnatural links. There was no effort to purchase any links so it's unclear how these are created. There are also 1,000s of incoming external links (most without no-follow and similar/same anchor text) from yellowpages.com. I'm trying to get this fixed with them and have added it to the disavow in the meantime. I'm focusing on internal links as well with a more specific question: If I have a sitewide header on a blog located at blog.domain.com that has links to various sections on domain.com without no-follow tags, is this a possible source of the traffic drops and algorithm impact? The header with these links is on every page of the blog on the previously mentioned subdomain. **More generally, any advice as to how to turn this around? ** The website is in the travel vertical. 90BJKyc

                  White Hat / Black Hat SEO | | ShawnW
                  0
                • HuptechWebseo

                  Negative SEO - Spammy Backlinks By Competitor

                  Hi Everyone, Someone has generated more than 22k spam backlinks (on bad keywords) for my domain.Will it hurt on my website (SEO Ranking)? Because it is already in the top ranking. How could I remove all the spammy backlinks? How could I know particular competitior who have done this?

                  White Hat / Black Hat SEO | | HuptechWebseo
                  0
                • IsaCleanse

                  Dodgy backlinks pointing to my website - someone trying to ruin my SEO rankings?

                  I just saw in 'Just discovered' section of MOZ that 2 new backlinks have appeared back to my website - www.isacleanse.com.au from spammy websites which look like they might be associated with inappropriate content. 1. http://laweba.net/opinion-y-tecnologia/css-naked-day/comment-page-53/ peepshow says: (peepshow links off to my site)07/17/2016 at 8:55 pm2. http://omfglol.org/archives/9/comment-page-196 voyeur says: (voyeur linking off to my site)
                  July 17, 2016 at 7:58 pm Any ideas if this is someone trying to send me negative SEO and best way to deal with it? 

                  White Hat / Black Hat SEO | | IsaCleanse
                  0
                • RizwanAkbar

                  Dfferent domains on same ip address ranking for the same keywords, is it possible?

                  Hello, I want to ask if two domains which r hosted on the same server and have the same ip ( usually happens with shared hosts ) tries to rank for the same keywords in google, does the same ip affects them or not.

                  White Hat / Black Hat SEO | | RizwanAkbar
                  0
                • edward-may

                  How did I get over 1000 backlinks in less then a month? help?

                  Hi Guys I'm a newbie and just started my website, im wondering if im reading this correctly, i use a tool called my seo tools and its telling me my website zenory.co.nz has over 1600 backlinks, this is scary since the site is only 5months old and i didn't see this till at least today and i check my sites backlinks on a regular basis.  However when I check with moz it says I only have 2? I'm a little confused.  Any advice here? Much appreciated Thanks

                  White Hat / Black Hat SEO | | edward-may
                  0
                • Marc-FIMA

                  How to Get Backlinks to a Coupon Code Website

                  Hello Guys, I run a coupon code website, which by its very nature does not contain the most compelling of content.  As you can probably understand, not many people are going to want to link to a page which lists a number of coupons relating to a specific online retailer. I am really struggling to come up with new and innovative ways of attracting links and wondered if anybody was in a similar position to me or could offer some advice. Would love to get some feedback. Thanks!

                  White Hat / Black Hat SEO | | Marc-FIMA
                  1
                • InkCartridgesFast

                  Article submission, and how to build backlinks for Ecommerce? [HELP]

                  Hi guys, I have a question, for high quality backlinks apparently you go to these article websites where you submit your site such as Ezine etc etc, however is it just one article you submit to these as it'll look like duplicate content? Also can I have it on my site first? How does it work? Also I run an ecommerce website, how can I build backlinks to each product, theres over 200+ products and 1.6k subcategories. I would like to rank for as many as possible but getting an SEO company to do this would cost to much. Any ideas on how I should go about it?

                  White Hat / Black Hat SEO | | InkCartridgesFast
                  1
                • BonsaiMediaGroup

                  Can you set up a Google Local account under a PO Box?

                  I have a client that wants a Google local listing in a town he serves but does not have a physical location.  Is it an issue to share an address with an existing company?  Is is it better to use a P.O. Box? or is there a forwarding address company? Is this considered a black hat Local SEO tactic?

                  White Hat / Black Hat SEO | | BonsaiMediaGroup
                  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.