How can I fix New 4XX Issue on Site Crawl?
-
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.
-
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:
Hope this helps a bit as well.
Bas
-
Hi Stacey! How is this going? We'd love an update.
-
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.
-
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?
-
Thanks!
We believe it is the YOAST SEO Plugin.
-
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.
-
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.
-
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!
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
Website redesign- change of server . What to do with old site? Keep for a while or delete right away?
Hey Mozzers, Two days ago, we redesigned our website and changed the server at the same time to get faster loading times. Here is what we have done. The old site was hosted on ipage, new site with a new design hosted on UPCLOUD. We changed the A record to the new server, uploaded a new site, submitted a new sitemap to Google Search console, 301 redirected all old URLs to new ones, most have changed a bit. Old URLs were ending with " .html "the new ones do not have that at the end. Submitted AMP pages to Google as well. Now here is my question. Should we delete the old site completely from ipage or should we keep it for a while? Google has indexed the new URLs that were created with the redesign, these URLs did not exist on the old site. But it still shows most of the old URLs on SERPs (these are URLs that have been 301 redirected to a new equivalent page) I understand 2 days is not very long for Google to get everything right, but I am not sure what we should do with the old site? Keep it or get rid of it to help Google index the new one only. FYI every single old URL that appears on Google search when clicked on will take you to the right place, we made sure there are no 404s at all. As this is very important to our business and we get most of it from Google I want to make sure we do it right for SEO purposes. The agency that designed the site did not really know the answer to that question, as they do not have SEO specialists. Please help, any input you might have will be greatly appreciated.
Web Design | | Davit19850 -
Has anyone transferred a site from WordPress to Webflow?
We're thinking about making the move, but I'm (mildly) concerned about SEO implications.
Web Design | | lauraballer0 -
Can we link back from help documents to product or features pages on website?
Hi, We have all our help documents on subdirectory linked for all the features or products we provide. Like we linked website.com/help/seo-guide from website.com/services/seo-product as that is relevant guide. Do we need to link back from all help guide pages to product pages? Thanks
Web Design | | vtmoz0 -
What is the Estimated Time for SERP Rankings to Replenish after a Site Redesign?
Hello Fellow Moz'ers, My company's website, www.1099pro.com, is currently OLD and not mobile-friendly! However, we rank #1 for out most important keywords and don't want to lose that ranking. I've recently redesigned our site, currently in testing, to use the same standard desktop pages but to also have responsive, mobile friendly, pages for different view ports. My question is if anyone knows an estimated time frame that search engines (mainly Google) takes to re-crawl the site and restore SERP rankings to their previous levels? The reason is because we are HIGHLY seasonal and if we are not back at our top rankings by early December, at latest (November would be better), then we stand the chance to lose a considerable amount of traffic/revenue. -The Unenlightened One
Web Design | | Stew2220 -
Https pages indexed but all web pages are http - please can you offer some help?
Dear Moz Community, Please could you see what you think and offer some definite steps or advice.. I contacted the host provider and his initial thought was that WordPress was causing the https problem ?: eg when an https version of a page is called, things like videos and media don't always show up. A SSL certificate that is attached to a website, can allow pages to load over https. The host said that there is no active configured SSL it's just waiting as part of the hosting package just in case, but I found that the SSL certificate is still showing up during a crawl.It's important to eliminate the https problem before external backlinks link to any of the unwanted https pages that are currently indexed. Luckily I haven't started any intense backlinking work yet, and any links I have posted in search land have all been http version.I checked a few more url's to see if it’s necessary to create a permanent redirect from https to http. For example, I tried requesting domain.co.uk using the https:// and the https:// page loaded instead of redirecting automatically to http prefix version. I know that if I am automatically redirected to the http:// version of the page, then that is the way it should be. Search engines and visitors will stay on the http version of the site and not get lost anywhere in https. This also helps to eliminate duplicate content and to preserve link juice. What are your thoughts regarding that?As I understand it, most server configurations should redirect by default when https isn’t configured, and from my experience I’ve seen cases where pages requested via https return the default server page, a 404 error, or duplicate content. So I'm confused as to where to take this.One suggestion would be to disable all https since there is no need to have any traces to SSL when the site is even crawled ?. I don't want to enable https in the htaccess only to then create a https to http rewrite rule; https shouldn't even be a crawlable function of the site at all.RewriteEngine OnRewriteCond %{HTTPS} offor to disable the SSL completely for now until it becomes a necessity for the website.I would really welcome your thoughts as I'm really stuck as to what to do for the best, short term and long term.Kind Regards
Web Design | | SEOguy10 -
Address On Every page for e-Commerce site?
For a primarily e-commerce site, should you have your address on every page (in the footer, for example)? Or is it enough to just have it on the contact page? Thanks, Ruben
Web Design | | KempRugeLawGroup0 -
Should I Use An Animated Javascript Responsive Site
Hi, hope someone might be able to help me with this. I am setting my son up with a website for his small painting and decorating company. However, I am a wordpress stalwart and he has seen a theme which is a javascript animated responsive theme from template monster. Its not my choice just he is adamant that he wants it. However, I am slightly concerned that Google cannot index as well with these kind of sites as they would with a standard HTML site. I would be grateful if someone could confirm if they can be indexed etc. The content appears in what I can only describe as lightboxes. Thanks
Web Design | | denismilton0 -
Tips on website redesign on site with messy URLs?
So I've inherited quite a messy website. It was in drupal and the owner wants it in wordpress. One of the problems is the link paths. Should I try to recreate them exactly? i.e. something/somethingelse/page/ or use redirects (which I'm not confident in doing). Also, some of the pages end in .html, others in a back slash and others without slahes, there's no consistency. Do you have any tips in general? I remember an older seomoz blogpost about successful website relaunches (with press releases and mass emails and stuff being sent out on launch to boot). Thanks!
Web Design | | seonubblet0