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
-
Help with 302 Temporary Redirect warning via MOZ crawl
Hi Guys, This is my first post so hopefully I'm using the forum correctly. MOZ crawl tells me that I have 35 pages with a temporary redirect The URL column displays 302 Found along with the http:// URL Redirection Location column shows the corresponding https:// URL This all seems pretty self explanatory. However, I’ve checked my .htaccess file and I can’t see any 302 references in it. I'm trying to figure out where the 302 redirects are from and how I can make them permanent Please can anyone help me out? My .htaccess looks like it needs a little tidy (there are 2 if blocks) <ifmodule mod_rewrite.c="">RewriteEngine On
Web Design | | ianalannash
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mysite.com/$1 [R,L]</ifmodule> BEGIN WordPress <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{HTTP_HOST} ^mysite.com$ [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]</ifmodule> END WordPress0 -
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 -
Will there be problems in the future with a mobile dedicated site?
Just wanted everyone's input/opinion on this article that basically states Google will move to a solely mobile index in the future https://www.nngroup.com/articles/mobile-vs-responsive/ That seems like it would negatively impact sites that have a separate URL for their mobile site. In this particular case I'm talking about... the mobile site URL is this layout: www.site.com/MobileView/MobileHome.aspx Any thoughts/input would be enormously appreciated.
Web Design | | AliMac260 -
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 -
New Website launch, asking for feedback
Hey Guys, I just launched my new website. I just asking around for feedback. Please check it out if you have time and let me know www.benjaminmarc.com
Web Design | | benjaminmarcinc1 -
ECWID Ecommerce Sites. No Custom URLS?
Is there any way possible to be able to name product urls in website that use ECWID for their ecommerce? They have long and "dirty" urls. For example this running boards site: http://www.runningboards4less.com/general-motors#!/~/product/category=6593890&id=28043027 Isn't this hurting the overall SEO of the site? Especially product pages?
Web Design | | Atlanta-SMO0 -
How can I reduce my warnings for excesive links on our site?
Our campaign overview shows well over 100 warnings that could be hurting our google ranking based on excessive links on pages. Each page listed, however, is simply due to listing the brands we carry, and linking to the products. Is there a way to do this without hurting our ranking? A better way than linking, perhaps? Thanks in advance!
Web Design | | guycochran0 -
404 page not found after site migration
Hi, A question from our developer. We have an issue in Google Webmaster Tools. A few months ago we killed off one of our e-commerce sites and set up another to replace it. The new site uses different software on a different domain. I set up a mass 301 redirect that would redirect any URLs to the new domain, so domain-one.com/product would redirect to domain-two.com/product. As it turns out, the new site doesn’t use the same URLs for products as the old one did, so I deleted the mass 301 redirect. We’re getting a lot of URLs showing up as 404 not found in Webmaster tools. These URLs used to exist on the old site and be linked to from the old sitemap. Even URLs that are showing up as 404 recently say that they are linked to in the old sitemap. The old sitemap no longer exists and has been returning a 404 error for some time now. Normally I would set up 301 redirects for each one and mark them as fixed, but there are almost quarter of a million URLs that are returning 404 errors, and rising. I’m sure there are some genuine problems that need sorting out in that list, but I just can’t see them under the mass of errors for pages that have been redirected from the old site. Because of this, I’m reluctant to set up a robots file that disallows all of the 404 URLs. The old site is no longer in the index. Searching google for site:domain-one.com returns no results. Ideally, I’d like anything that was linked from the old sitemap to be removed from webmaster tools and for Google to stop attempting to crawl those pages. Thanks in advance.
Web Design | | PASSLtd0