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. Web Design
    4. How can I fix New 4XX Issue on Site Crawl?

    How can I fix New 4XX Issue on Site Crawl?

    Web Design
    10 5 145
    • 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.
    • skehoe
      skehoe last edited by

      Hi all,

      My recent site crawl shows 27 4xx issues on this website http://www.rrbusinessconsultants.com/

      All of them are for 'posts' on this wordpress website.

      Here is an example of the issue: http://www.rrbusinessconsultants.com/rr-business-consultants-on-the-rise-of-glassdoor-and-how-companies-are-coping/void(null)

      The blog page seems to be creating links ending in void(null) which are defaulting to 404 pages.

      I cannot see the links on the site so cannot see how to remove them.  Can anyone provide any insight into how to correct his issue?

      Many thanks in advance.

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

        Hi Stacey,

        When I inspect the page, I can see that there is something in your header that seems to be injecting this. It appears to be at the end here:

        • R&R Business Consultants Inc./  Latest News  /  R&R Business  /  R&R Business Consultants on the rise of Glassdoor and how companies are coping****

        If I were you, I would check out the header file first to see if you can see the 'void' bit. It isn't supposed to be there so might be something that has been left there unintentionally.

        -Andy

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

          In general, the Moz site crawl should point out the page(s) in which the offending link was found, and this is always a good place to start to track down the underlying cause.

          I am finding your issue in the breadcrumbs of the post detail page itself. Looking at the source code of http://www.rrbusinessconsultants.com/rr-business-consultants-on-the-rise-of-glassdoor-and-how-companies-are-coping/ I find this HTML code snippet within the breadcrumbs:

          [](<a class="html-attribute-value html-external-link" href="http://www.rrbusinessconsultants.com/rr-business-consultants-on-the-rise-of-glassdoor-and-how-companies-are-coping/void(null);" target="_blank">void(null);</a>)

          Since you are using Wordpress, I would assume the site is using a breadcrumbs plugin, and this is likely going to be your culprit. My advice would be to inspect the plugin in use and any code or shortcodes that are being used to generate the site breadcrumbs. You'll likely find some offending code causing this unnecessary anchor tag. If you need any additional help, please let me know!

          1 Reply Last reply Reply Quote 3
          • skehoe
            skehoe last edited by

            Hi, I believe this is probably the case.

            However, not knowing too much about breadcrumbs I am unsure what sort of 'offending code' I would be looking for and how to resolve the issue.

            Could you offer some advice please?

            Thank you.

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

              The first step would be to identify what plugin is being used to generate the breadcrumbs. If you can provide that info, I could research that plugin for any known issues and/or review it's codebase. This may or may not be all we need to do to resolve the issue but it's a good first step.

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

                Thanks!

                We believe it is the YOAST SEO Plugin.

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

                  Without looking at the template code, it's really difficult to say what's going on. I didn't find a definite match in terms of known issues with Yoast's breadcrumbs. Looking at the body class declaration in your markup, I would assume this particular page is generated by single.php or a similarly named file. Do you have access to the theme's source files where you could paste in the code from this file?

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

                    By the way, you will also want to add a CSS rule for your anchor links in the breadcrumbs, as right now they are transparent. I would add a line of code to your style.css file like this:

                    .ilny-breadcrumbs a { color: #c0392b; }

                    Assuming of course that this is the color of red you'd like to use for the link text.

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

                      Hi Stacey! How is this going? We'd love an update. 🙂

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

                        Andrew is right: Yoast uses different code for breadcrumbs.

                        I would start searching inside the theme-files for:
                        "void(null);" or "void(" or "ilny-breadcrumbs"

                        That should give you a clue to where the code actually is inside your theme.

                        To show the difference: Yoast's plugin produces code like this:

                        NAME OF THE PAGE

                        Hope this helps a bit as well.

                        Bas

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Does adding new pages, new slugs, new URLS in a site affects rankings and visibility?
                          0
                          2
                          70

                        • Is there an issue if we show our old mobile site to Google & new site to users
                          max.favilli
                          max.favilli
                          0
                          6
                          132

                        • Show new mobile site to 60% users & old mobile site to 40% users
                          vivekrathore
                          vivekrathore
                          0
                          3
                          98

                        • New site or fix the old one
                          roiautos
                          roiautos
                          0
                          5
                          126

                        • We believe we accomplished an SEO Parallax site with a nice balance. Can the MOZ community critique this site from an SEO perspective?
                          SEO-Buzz
                          SEO-Buzz
                          0
                          3
                          302

                        • Pagenation - Crawl Issue
                          Dr-Pete
                          Dr-Pete
                          0
                          2
                          111

                        • I've set up my own site which is still fairly new but I'm a bit concerned that there is a bloackage SEO wise somewhere because when I try to crawl the site on SEOmoz it only crawls one page.
                          JoshED
                          JoshED
                          0
                          7
                          219

                        • Best Way to Re-Direct traffic from existing site to new site?
                          mrdavidingram
                          mrdavidingram
                          0
                          9
                          465

                        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