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. Moz Tools
    4. Who is placing pieces of code into my site??? Is it MOZ bot??

    Who is placing pieces of code into my site??? Is it MOZ bot??

    Moz Tools
    29 8 1.9k
    • 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.
    • LesleyPaone
      LesleyPaone @Ltsmz last edited by

      Any chance you can send me a link to your site at lesley@dh42.com I would like to check it out. From my side if either is actually injecting code it would be a big breach of trust.

      Ltsmz 1 Reply Last reply Reply Quote 1
      • LynnPatchett
        LynnPatchett last edited by

        Im pretty sure I did....

        'wp-admin-bar-wpseo-kwdensity'  and 'class="ab-item"' indicate that this is code related with the wordpress admin bar. If you are logged into wordpress as an admin you will see this bar (black bar at the top of the page) when you view the site also. Did you try deselecting the  'show toolbar when viewing site' I mentioned above? When you do that do you still see the 'injected' code? I suspect not.....

        Yoast and his seo plugin are both very welll known and respected, it doesn't just inject code into a site so that is why I say I think you are misinterpreting what you are seeing.

        As for the a class="seomoz-highlight seomoz-highlight-nofollow", as Leslie says this is because you have the moz toolbar installed in your browser and have chosen to highlight no follow links in the options. Deselect this option and you will not see this code anymore. If you like, look at the google cache of any of your pages.... they will have neither of the code snippets you are worried about in them.

        Ltsmz 1 Reply Last reply Reply Quote 4
        • KeriMorgret
          KeriMorgret @Ltsmz last edited by

          Like others have mentioned, it's most likely the Moz toolbar. I have a personal Wordpress site myself, and will sometimes see one of my plugins try to write code to the compose window instead of activate like it should (such as I try to use Easy Gestures, and instead of performing an action, I suddenly get code like that in my post or page).

          I've asked our associate Dan Shure to look at this question, as he's one of our experts in Wordpress, and he'll be able to give you some additional insight.

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

            I'm not using the toolbar at all.

            I used it a few months ago and uninstalled it back then.

            Does that mean I'll keep having that code inside my posts forever? Please take a look at the screenshot.

            http://imgur.com/a/wT9kW

            Thanks

            1 Reply Last reply Reply Quote 0
            • Ltsmz
              Ltsmz @LesleyPaone last edited by

              I'm sorry Lesley, but I'd rather avoid that.

              But you can take a look at these screenshots

              http://imgur.com/a/wT9kW

              1 Reply Last reply Reply Quote 0
              • Ltsmz
                Ltsmz @LynnPatchett last edited by

                Hi,

                thanks.

                Please take a look at the screenshot.

                1. I do not have any moz bar installed.

                2. If davidnaylor, seobook and opensiteexplorer are not tracking my website's date, what are those names doing in my website's code?

                What's the whole purpose of it? Backlinks? Do they just like it or what?

                http://imgur.com/a/wT9kW

                Thanks for your help

                1 Reply Last reply Reply Quote 0
                • Masoko-T
                  Masoko-T last edited by

                  Hi Fabio

                  I think Lynn is right.

                  But do try the following,

                  1. Use Firefox in safe mode ( see : http://mzl.la/MWQFPn ) this will ensure that any plugins / toolbars / extensions that you MIGHT or MIGHT NOT have installed on your browser are definetely turned off. If you have Chrome, follow these instructions: http://bit.ly/aEniLx
                  2. Then go to your website and MAKE SURE YOU'RE LOGGED OFF your wordpress backoffice interface.
                  3. Now look at the source code of your site.

                  Are the suspicious links gone?

                  We could probably be able to help you better and a lot faster if you published your URL or at least send it to one of us by PM.

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

                    Hi Fabio

                    Sorry to hear of your troubles! Dan here, Moz Associate.

                    What you are seeing is totally normal.

                    Your screenshot with the source code is an exact match of the links in the WordPress Toolbar (with Yoast SEO installed). Check out the screenshot ----> http://screencast.com/t/rTuVFDihy

                    There is no question it is the code from Yoast in the WordPress toolbar. If you go to: yoursite/wp-admin/profile.php - you can toggle this WordPress toolbar on and off by clicking "Show toolbar when viewing site".

                    Look, I get the same code on my site --> http://screencast.com/t/ds75k6wxq - again, you will only see this code IF you are logged in, have the toolbar enabled, and Yoast installed.

                    Regular users do not see this code, and Google does not see this code. This is 100% normal behavior and nothing to worry about. They are not tracking you, or getting links.

                    If you prefer to not have the code in your source code when logged in, you can disable the WordPress toolbar.

                    -Dan

                    Ltsmz 1 Reply Last reply Reply Quote 2
                    • Ltsmz
                      Ltsmz @evolvingSEO last edited by

                      Thanks Dan,

                      I guess you never stop learning...

                      But what about the SEOmoz code inside my posts? Did you take a look at them in the screenshots I've attached before?

                      PS. I've unistalled the moz toolbar more than 3 months ago.

                      Thanks

                      evolvingSEO 1 Reply Last reply Reply Quote 0
                      • evolvingSEO
                        evolvingSEO @Ltsmz last edited by

                        Fabio

                        No problem! As far as the moz code in your posts, I am not entirely sure to be honest. That is definitely a separate issue from the wordpress toolbar.

                        Few questions;

                        • Does that code then end up on your posts and source code? Or is it only showing in the text editor in wordpress?
                        • If you delete it from the editor, and hit update, does it show back up again?
                        • Does it always show up, in every new post or page - and if so, at what point, right away?

                        -Dan

                        Ltsmz 1 Reply Last reply Reply Quote 0
                        • Ltsmz
                          Ltsmz @evolvingSEO last edited by

                          Hi,

                          1. Yes the code end up both inside my posts and in the source code.

                          2. If I delete it from the text editor it disappears from the source code too and when I refresh it doesn't show up anymore

                          3. It shows up every time I add no-follow to a link right next to the nofollow attribute. I'm using the Ultimate Nofollow plugin if that matter.

                          Thanks

                          evolvingSEO 1 Reply Last reply Reply Quote 0
                          • evolvingSEO
                            evolvingSEO @Ltsmz last edited by

                            Hi Fabio

                            I tried installing the plugin but could not recreate the issue. Few things to try;

                            1. Try updating the plugin if you have not.
                            2. Try disabling the plugin and see if the issue still happens.
                            3. You can also try deleting the plugin entirely and reinstalling.

                            If none of those work, it is not that plugin. It is either another plugin or your theme. You can follow the above steps with your other plugins as well - update or disable them one by one and see if you can stop the issue.

                            -Dan

                            Ltsmz 1 Reply Last reply Reply Quote 0
                            • Ltsmz
                              Ltsmz @evolvingSEO last edited by

                              Hi Dan,

                              thanks for your reply.

                              So basically are you saying that an external plugin adds "seomoz" pieces of code inside my posts? Why should they do that? What do they get by adding "seomoz" codes inside my posts?

                              Anyways, I don't think it's the plugin. I've created a new post today and used it to create nofollow links and the seomoz thing didnt appear.

                              I'm thinking it appeared in the posts I have created while I was using the mozbar a few months ago maybe?

                              But if that's the case, how can the mozbar put code in my posts?

                              Could you please explain?

                              Thank you

                              evolvingSEO 1 Reply Last reply Reply Quote 0
                              • evolvingSEO
                                evolvingSEO @Ltsmz last edited by

                                Hi Fabio

                                I am saying I am not sure how it's getting there. But it's standard diagnostic with WordPress that the first thing you would do to diagnose is to start with plugins and the steps I outlined above. Have you done that?

                                It could very well not be a plugin, but that's the only way to check.

                                If you created a post today and the moz links did not appear, then perhaps the issue is gone. I would remove any unwanted code from prior posts and see if it ever comes back. If it does, take note of exactly what you are using for anything "extra" like WordPress plugins or toolbars.

                                I honestly am not sure how this would put code into your posts without being able to diagnose and/or recreate the error myself. Unfortunately I can not explain that without seeing what happened.

                                -Dan

                                Ltsmz 1 Reply Last reply Reply Quote 0
                                • Ltsmz
                                  Ltsmz @evolvingSEO last edited by

                                  Hi Dan, thanks.

                                  Thing is that there are hundreds of those "seomoz" bits inside my posts and it would really take a long time to remove them manually.

                                  Are they harmful in any way? or can I just leave them?

                                  Thank you

                                  evolvingSEO 1 Reply Last reply Reply Quote 0
                                  • evolvingSEO
                                    evolvingSEO @Ltsmz last edited by

                                    Hi Fabio

                                    They are not harmful and you can leave them.

                                    FYI, there is something called a "find and replace" which you could do in a few ways to remove the unwanted code;

                                    • you can move your HTML text to a text editor like Text Wrangler, do a find and replace and move the HTML back to WordPress.
                                    • you can use something like this plugin http://wordpress.org/plugins/search-and-replace/ which should work well within wordpress.

                                    As noted, it's not harmful, but if you ever did need to remove lots of text at once, that would be the way to do it.

                                    -Dan

                                    1 Reply Last reply Reply Quote 0
                                    • 1
                                    • 2
                                    • 1 / 2
                                    • First post
                                      Last post
                                    • Hello There I have a site the problem with this site is I have taken countless backlinks but it is not reflecting on Moz. Is there any way to help Moz find my links?
                                      BartonInteractive
                                      BartonInteractive
                                      0
                                      4
                                      59

                                    • How long after a new site goes live can the campaign be created in Moz?
                                      DmitriiK
                                      DmitriiK
                                      0
                                      2
                                      31

                                    • Duplicate Site Content found in Moz; Have a URL Parameter set in Google Webmaster Tools
                                      MitchellChapman
                                      MitchellChapman
                                      0
                                      3
                                      93

                                    • Search Console says 111 links. Moz says 3\. Do I have a site problem?
                                      SproutDigital
                                      SproutDigital
                                      0
                                      14
                                      285

                                    • Moz Spam Analysis vs. GWMT Links to Your Site
                                      PatrickDelehanty
                                      PatrickDelehanty
                                      0
                                      2
                                      123

                                    • Is it possible to block Moz from crawling sites?
                                      co.mc
                                      co.mc
                                      0
                                      4
                                      239

                                    • SEO Moz analysing US site when I want it to analyse UK site
                                      Peterli
                                      Peterli
                                      1
                                      5
                                      223

                                    • Site submission to site explore
                                      cbielich
                                      cbielich
                                      0
                                      3
                                      424

                                    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