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. On-Page / Site Optimization
    4. Site is too slow? Seeing a new code.

    Site is too slow? Seeing a new code.

    On-Page / Site Optimization
    6 2 114
    • 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.
    • Beachflower
      Beachflower last edited by

      Site is too slow. I am seeing this new code more than 1000 times in my home page-

      What should I do now?

      My site- http://a1stlucie.com/

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

        Just to verify - this is js that your company/client did not insert themselves?

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

          I don't think so. But why over 1000 times?

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

            Well it could be a few things. Either it's always been there and you never noticed it before, your company/client added it but did so in a way that populated it out over 1000 times as an error, or the site was hacked and the js was inserted by a malicious entity. It looks like they're using a link shortener in the src part of that js, which makes me nervous.

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

              Yes I think. They are using that to slow the site down. and its working.

              brettmandoes 1 Reply Last reply Reply Quote 0
              • brettmandoes
                brettmandoes @Beachflower last edited by

                Hi Beachflower,

                Did you ever get a resolution to this? I'm curious to see what the outcome and solution was. If this is a malicious attack then you'll need to consult someone who specializes in net sec, but I've dealt with a few different kinds of attacks before so I can make a couple of recommendations.

                1. Change all of your logins. Make them unique and difficult for a bot to guess. Then set it to lock out users after five incorrect guesses. This prevents brute force hacks.

                2. Add a honeypot to your login forms. A honeypot is a hidden field that bots will try to fill out on a form. Users can't see it, so they don't fill it out. If it gets filled out, the program knows it's a bot, and invalidates the attempt to login.

                3. Use screaming frog to find all the js that was maliciously inserted on each URL and create a "cleanup" list. A developer should be able to write a simple "find and replace" program that just deletes it.

                4. Consider migrating to https if you haven't already. This can prevent Man-in-the-Middle attacks (MIM) on your site, and also confers several SEO benefits such as improved user experience, a slight boost in ranking, and faster site speed (HTTP/2 integration).

                These are just a few first steps to take and a Net Sec professional will have much more to add. Hope that helps!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • How to check code to text ratio of Mobile Site?
                  KristinaKledzik
                  KristinaKledzik
                  0
                  5
                  87

                • Potential new URL structure for my ecommerce site
                  Everett
                  Everett
                  0
                  4
                  521

                • Redirects for new site new urls?
                  scott315
                  scott315
                  0
                  6
                  93

                • Redirecting pages (old site to new site)
                  evolvingSEO
                  evolvingSEO
                  0
                  3
                  126

                • New jobboard: Can redirecting folder (site.com/jobboard) to subdomain (jobboard.site.com) hurt SEO?
                  MikeTek
                  MikeTek
                  0
                  4
                  182

                • Best practice for introducing new landing page to my site?
                  JarnoNijzing
                  JarnoNijzing
                  0
                  5
                  482

                • New Site + Transfered blog: Things to watch for?
                  Earthsaver
                  Earthsaver
                  0
                  4
                  459

                • New site not ranking for it's name
                  mad2k
                  mad2k
                  0
                  7
                  1.5k

                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