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
-
How does Google rank a "Site:yourexamplesite.com" Query
Hi All, Sorry for the potentially confusing title. I am trying to find out how google ranks the pages of your site when you search "site:yourwebsite.com". When I did this with my website I was surprised what pages showed up on the first page, there were sub-category pages in the top 5 results and top level category pages that weren't on the first page. I have been unable to find information as to how google returns these results, is it the same algorithm/factors that make pages rank highly in a regular search, or does it have something to do with how recently google crawled these pages. Any feedback would be helpful. Additionally, if anyone has worked through a similar scenario I would be interested to know if there were any insights you gained from finding out which of your pages google returned first. Thanks for the help! Jason
Web Design | | Jason-Reid0 -
Drupal Domain Access SEO Issues
I'm working with a new developer to redesign several Drupal sites and have 3-4 sites with similar designs and modules. The developer is keen on using Drupal Domain Access to make maintenance and sharing user information easier. Each site currently has a unique domain and content (although the sites are in related niches). Are there issues from an SEO perspective with the Drupal Domain Access Module? With only one instance of Drupal on the backend will Google somehow not view these as independent sites? Thanks for any info!
Web Design | | talltrees0 -
Responsive Site has "Not Found" Errors for mobile/ and m/ in Google Search Console
We have recently launched a new responsive website for a client and have noticed 2 "Not Found" errors within Google Search Console for /mobile and /m Both these URLs are not linked from anywhere within the site. However Google is reporting them as being linked from the homepage. This is not the first site we have seen in which Google has reported this error, however the other site was not a mobile friendly site. My thoughts are to 301 them back to the Homepage. Anybody else have any thoughts on this? or have recently received the same errors?
Web Design | | JustinTaylor881 -
HELP! IE secure page display issue on new live site
For some reason IE 7, 8, & 9 do not display the following page: https://www.jwsuretybonds.com/protools.htm All they show is the Norton seal. It shows properly in all other browsers without issue (including IE 10+), but the earlier versions flash the page for a split second, then hides everything. Can someone shed some light on this? This is a new live site we just launched minutes ago and these browsers account for 12% of our overall traffic. UGH I hate you microsoft!!! Thanks all 🙂
Web Design | | TheDude0 -
Best course of action when removing 100's of pages from your site?
We had a section on our site Legal News (we are a law firm). All we did there was rehash news stories from news sites (no original content). We decided to remove the entire Legal News section and we were left with close to 800 404's. Around this same time our rankings seemed to drop. Our webmaster implemented 301's to closely related content on our blog. In about a weeks time our rankings went back up. Our webmaster informed us that we should submit each url to Google for removal, which we did. Its been about three weeks and our Not Found errors in WMT is over 800 and seems to be increasing daily. Moz's crawler says we have only 35 404's and they are from our blog not the legal news section we removed. The last thing we want is to have another rankings drop. Is this normal? What is the best course of action when removing hundreds of pages from your site?
Web Design | | MFC0 -
Can you use a base element and mod_rewrite to alleviate the need for absolute URLs?
This is a follow up question to Scott Parsons' question about using absolute versus relative URLs when linking internally. Andy King makes the statement that this can be done and that it saves additional space (which he claims then can improve page speed). Is this a true and accurate statement? Can using a base element and mod-rewrite alleviate the need for absolute URLs? I need to know before going off on a "change all of our relative URLs to absolutes" campaign. Thanks in advance! Dana
Web Design | | danatanseo0 -
Should the parent directory of the main site-navigation be clickable or not?!?
Highly discussed in our team is the question: Should all parent navigation items be clickable, or only the ones that have no child menu appearing on mouse over? At Starwood Germany, we would like to adjust the main navigation for all our websites in order to improve consistency and user friendliness. At the moment, most of our websites feature both clickable non-clickable parent items, depending on whether the items have a corresponding child menu (appearing on mouse over) or not. See example here: http://www.imperialvienna.com/en Some of our team members believe it might be irritating and/or confusing for the user if some items are clickable while others are not. What do you think? Any thoughts and insights would be truly appreciated!
Web Design | | DFM_GSA0 -
Facing design issue in IE6 and IE7
Hi, I implemented custom search code on my website which is on a test url http://61.246.241.232/. It is working perfectly fine on all the browsers except on IE6 and IE7. Can anyone please let me know the solution to this problem. Thanks & Regards
Web Design | | IM_Learner0