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
-
SEO Ranking: Can Child Theme Compete with Custom Theme?
Ranking for New York City commercial real estate is extremely competitive. We compete against: www.squarefoot.com, www.42floors.com, www.Loopnet.com, www.wework.com and a dozen other optimized sites. Our site was designed in 2012. We plan on upgrading it. From an SEO perspective, can we compete by purchasing a Wordpress real estate theme and customizing it into a child theme? Our better ranking competitors are using custom themes where the code has been very streamlined to make the sites quick and easy to index by spiders. Would we gain a significant edge by custom coding? This is somewhat technical for a business owner and I am trying to get my head around it. Our existing site is www.nyc-officespace-leader.com. Some of the themes we are considering are: -http://main.wpestatetheme.org/homepage -http://houzez01.favethemes.com/ -http://realhomes.inspirythemes.biz/property/ From an SEO perspective is creating a child theme from the above a good approach? Or will a custom theme give us an advantage. If there is an advantage is that edge so marginal that it is not significant? In terms of coding, is a custom site much more labor, 2x, 3x the time to code? Also is the maintenance of a custom site much more involved? Also, as a related question, my developer since 2012 has created many custom plugins for Wordpress. Is this a no, no? Will avoiding custom plugins add to the development cost? Even if we use a child theme from an existing real estate website, I would hope that the improved user interface will provide a boast in at least conversions if not SEO. Thanks, Alan
Web Design | | Kingalan10 -
Moving to new site. Should I take old blog posts with me?
Our company website has needed a complete overhaul for some time now and the new one is almost ready to go live. We also have a separate "news" site that is houses around 800 blog posts and news items. (That news site will be thrown away because it's on a completely different domain and causes confusion.) So we have a main site with about 100 decent blog posts and a separate news site with 800 poor posts. I plan on bringing all the main site blog posts over to the new site (both WordPress), but my question is whether or not to bring over the news site posts? All, handful, none? Another issue is the news site doesn't have Google Analytics, so I'm not sure if any posts actually generate traffic, but I can from the main site we do get some referrals from it. As far as quality of content goes, it's poor. Not sure who wrote it all, but it's mainly text press releases that aren't very interesting. Is it worth bringing over for SEO purposes or simply delete the site and create a mass redirect so all of those pages will direct to the new website's blog page? Any help is greatly appreciated.
Web Design | | codyfrew0 -
I want to create a 301 redirect on a WordPress site, nothing's working...
Hello all, I'm hoping someone out there can give me a hand with this. I'm trying to modify my .htaccess file so that the site will go from maxcarnagemusic.com to www.maxcarnagemusic.com and also, so viewers will be redirected to www.maxcarnagemusic.com/home when they try to access the site. I've tried a few different things, including adding the 301 redirect plugin for Wordpress, but nothing seems to work. Can someone out there show/tell me how to create an htaccess file that will execute as much. I apologize in advance, my Apache experience is very, very limited. Thank you all in advance!
Web Design | | maxcarnage0 -
Unable to set preferred domain, can I verify a site that's already redirected?
I'm in the process of trying to set a preferred domain in webmaster tools -- to set our www version as preferred vs. the non www. version. IT is already redirecting non-www to www, but I get this message when trying to change settings "Part of the process of setting a preferred domain is to verify that you own http://mnn.com/. Please verify http://mnn.com/." While we own the domain, I am not sure how we can have Google access a file at [http://mnn.com/some_file when we are forwarding all requests for non-www to our www site.
Web Design | | Aggie
Note: The apache rewrite predates me and I'm not sure how / why we have two domains set up, but I'm trying to fix the preferred domain now.Am I able to verify the non version once the redirect is in place.Any ideas??? Help???Thanks!Lisa0 -
Please help. can't change widgets in wordpress
hey everyone, i am having a weird problem. for some reason. all of a sudden (without me changing ANYTHING) my widget page in the admin dashboard will not let me edit anything what i mean is, i login, go to the widgets page, and then the dropdown menus that you drag widgets into will not let me expand to drop widgets in them. was there a wordpress update i missed? who should i contact? what if i delete the theme and re-install. will i have to change ALL the settings back again?
Web Design | | TylerAbernethy0 -
301 redirects from old site to new
hey all, we just did a site redesign and have less pages on the new site than the old. is it bad to redirect multiple pages from the old site to the same page on the new? for example redirect ...com/apps ...com/android ...com/mobile and point them all to....com/custom-apps thanks!
Web Design | | jaychow0 -
Im having duplicate content issues in wordpress
all of my pages are working fine. but i added my sitemap to my footer in my website and when i click on my blog from my footer it takes me to the homepage. so now im having duplicate content for two diff urls. ive tried adding a rel=canonical and a 301 redirect to the blog page but it doesnt resolve the problem. also, when i go to my footer and click blog. after it brings me to the homepage ill try to click on my pages from the original bar at the top of my screen and it will bring me to the right pages. but it will have the same blog url in the search bar even when im on other pages. other than that all of my pages in my footer and in my homepage toolbar work fine. its just that one particular problem with the blog page in the footer and how it stays with the same blog url on every page after i click the blog in the footer. can someone please help. im using yoast and idk if i should disable it or what.
Web Design | | ClearVisionDesign0 -
Does Blog Look And Feel Have To Match Site Look And Feel?
For years I've run WidgetsAdvice.com as a standalone blog. It's done well, 4k uniques a day, 5PR site. But it's standalone. I recently purchased Widgets.com, which doesn't get much traffic and is only a PR2. To help grow Widgets.com, my obvious desire is to move the blog (WidgetsAdvice.com) over to Widgets.com and have it sit there as: www.Widgets.com/blog so I can get the good google juice to start flowing to Widgets.com Yes, I know it's important to do the page redirects properly, etc. That's not my question. My question is: Do they have to look the same? The page design of Widgets.com is very different than the blog. When I move the blog over, do I HAVE to make it have the same look and feel as the larger site? Does google penalize you if your blog has a different page design than the site it is blogging for? My preference would be to simply move the blog over and change nothing... maybe change the menus to point to the larger site, etc. But will google not like it looking different? (Widgets is obviously an example... my site name is different)
Web Design | | brianmcc0