404 Errors generating in WP
-
Our crawl reports are generating back several 404 errors for pages with urls that look like:
/category/consulting/page/5/
The tag changes, the page number changes, but the result is always the same: A big glaring 404. Our sites are built on WordPress Multi-site, and I am fairly certain this issue is on the WP end, but I can't figure out why it is generating pages out to infinity, essentially, from the tags and categories.
It is worse on some sites than others, but is happening across the board (my initial concern was that it might be a theme issue, but that does not seem to be the case).
If anyone has run into this issue and knows a fix, you're insight would be greatly appreciated.
Thanks!
-
This is the exact answer that you want if you have any issues running into problems once you have isolated them with screaming frog you can easily pick them out and redirect them either through your host or through a plug-in depending upon where you're hosted and how your site is being managed.
-
Here's what to do;
- Crawl the site with Screaming Frog (you can do up to 500 URLs with the free version).
- Look for the suspect pages in your crawl list.
- Click once on the page in the list
- Below, click "To Links" - and this box will show you the page(s) linking to the bad 404 page.
- View the "From" page (which links to the bad page) in your browser.
- Look at the source code for that page - do a "find" and paste in the bad page's URL. This will show you where it's linking from.
- Fix the spot in your theme or template where it is linking to pages that do not exist.
-
I want to first say I apologize for the wording on my first answer I was using voice recognition and it made a few mistakes. I also want to say I agree with what Dan has said he really knows WordPress and I would take
his advice the fact that he's endorsed Lynn's answer makes me believe that it is the correct one and screaming frog spider is one of the best tools in the world for any type of website and can help you create 301's easily to get rid of your 404's on the paid version
here is a great Screaming frog spider guide By Seer
http://www.seerinteractive.com/blog/screaming-frog-guide
I hope this helps,
Thomas
-
Hi Melissa, you've received some great responses. Did any of them help you resolve your issue?
-
I second Lynn's answer. You need to find where the link is coming from to begin with. Could also use Screaming Frog SEO Spider or Webmaster Tools - they will all get you the same thing. Find out where the bad URLs are linked from, and then you can narrow down the source of bad code or whatever it may be.
-Dan
-
Yoast's SEO plug-in for WordPress
Will eliminate the /1/ /2/ /3/ page effect.
http://yoast.com/wordpress/seo/
I hope this is of help. The running multisite through a non-subdomain set up on expecting correct?
-
Hi Melissa,
It is actually pretty common for wp based sites to spin out repeated 404 errors (or at least have the potential to do this). It could be a theme issue, a plugin issue or a setup issue or a combination of all 3 depending on the site.
First thing to do is figure out where the link is coming from. Download your moz error report in csv and filter by 404's. On the left you will have the 404 page and on the far right you will have the referring page. Go to the referring page and view the source and try to find that link. Keep an eye out for relative links from deep structure pages also (so you have page /category/page/5 and the link is a relative href="/" or href="/6" which can have the effect of spawning repeated 404s like /category/page/5/6 etc etc).
Once you have found the link, you should be able to identify the template part which is producing them and then act accordingly to either edit the template or adjust the settings/plugin so that they stop. If you can give us a real example of a 404 and its linking page we should be able to give you more specific info.
-
I seriously doubt the issue is with WP. perhaps a plugin might be conflicting with how the page is rendered. Make sure you have a database and file backup. You could FTP in and rename the plugins folder to _plugins ( this will disable all plugins ) and check if the issue persists. Rename the folder back to plugins once you finish testing it.
NOTE : with some plugins you will have to manually go in a enable and configure them after you do this.
-
Hi 404 are extremely common. I would build 404 page and I would also use this plug-in here but make sure that you understand that this is by far no way perfect. You must check the logs consistently and make sure their note for forest mistaken for instance I had used it once and it had four or my feed back my homepage
http://wordpress.org/plugins/redirection/
However this is a very good plug-in that has been progressively getting better. It is recommended by some of the best people in WP I strongly recommend using it and I hope I've helped you if you need anymore help please let me know.
sincerely,
Thomas
Yes this will also work if you're using Nginx a much faster web server type that Apache or even lightspeed. However it is very hard to create 301 anyone use a Nginx web server environment. However this tool is able to do so and then most Managed WordPress hosts are the ones that are actually using Nginx with this Internet these days. Or managed WordPress hosts are able to then rewrite the correct 301 with this redirection plug-in is able to create 301 100% then most of the time people running Nginx host make the corrections after the redirection have to spend time.
The specialty of this redirection plug-in the is catching 404's and redirecting them to a page that it should be redirected to logically for instance if I was going to have /about/ 404 and then /about- us/ the plug-in easily figure that out that should be the correct redirect and then mixed the correction automatically you can also turn off this mode once you believe 404's are no longer an issue.
You can also use an Apache only mode which depending on your Web server might me your needs better depending on what type of Webster rerunning
I think this is an outstanding plug-in and definitely believe that it is a huge help if you have a any amount of 404s.
I hope I've been of help,
Thomas
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
-
What is the best approach to handling 404 errors?
Hello All - I'm a new here and working on the SEO on my site www.shoottokyo.com. When I am finding 4xx (Client Errors) what is the best way to deal with them? I am finding an error like this for example: http://shoottokyo.com/2010/11/28/technology-and-karma/ This may have been caused when I updated my permalinks from shoottokyo.com/2011/09/postname to shoottokyo.com/postname. I was using the plug in Permalinks moved permanently to fix them. Sometimes I am able to find http://shoottokyo.com/a-very-long-week/www.newscafe.jp and I can tell that I simply have a bad link to News Cafe and I can go to the post and correct it but in the case of the first one I can't find out where the crawler even found the problem. I'm using Wordpress. Is it best to just use a plugin like 'Redirection' to move the rest that have errors where I cannot find the source of the issue? Thanks Dave
Moz Pro | | ShootTokyo0 -
403 error for a member site
Perhaps a stupid question but SEOmoz registers 403 errors for pages behind a membersite (ie. they are restricted on purpose). Should I noindex these pages or just let SEOmoz register these "errors"?
Moz Pro | | Crunchii0 -
404 errors, but not showing in Google analytics
In my SEOmoz errors there are over a dozen 404 errors listed. However, they are not showing up in Google analytics. How can I find the referring url for the ones showing up here?
Moz Pro | | sakeith0 -
Increase of 404 error after change of encoding
Hello, We just have launch a new version of our website with a new utf-8 encoding. Thing is, we use comma as a separator and since the new website went live, I have a massive increase of 404 error of comma-encoded URL. Here is an example : http://web.bons-de-reduction.com/annuaire%2C321-sticker%2Csite%2Cpromotions%2C5941.html instead of : http://web.bons-de-reduction.com/annuaire,321-sticker,site,promotions,5941.html I check with Screaming Frog SEO and Xenu, I can't manage to find any encoded URL. Is anyone have a clue on how to fix that ? Thanks
Moz Pro | | RetailMeNotFr0 -
Title Missing or Empty 6000+ errors
This seems one issue that can affect my curent rank of site. I own http://www.funnygusta.com and i saw yesterday a drop in traffic from 6000uniques to 3500. Yesterday also i received a new crawl report from seomoz. There was like more than 6000 title missing or empty errors. This have a direct corelation between rank and these errors? Also its weird that i use title on all posts also i use seo plugin by yoast and titles are automatic filled. Any ideea from where to begin? thanks
Moz Pro | | xplicit0 -
Where is my 404?
Hi all, I just signed as a PRO in Seomoz(yes, I am noob) and in the crawl diagnostics it says I have got a couple of 404. first one is a typo but I just can't find where it is on my website; any idea? second, it is a page I deleted third, it is a page with double subdomain ie it works with sitename/country/services 404: sitename/country/country/services
Moz Pro | | omawo0 -
SEOmoz showing crawl errors but webmastertools says no errors, need help!
Hi this is my first question and i couldnt find a similar question on here. basically i have a clients website that is showing 150 duplicate page titles and content errors plus others. SEOmoz analysis is showing me for example is 3 duplicate hompage URLS: 1.www.domain.com 2.domain.com 3.www.domain.com/index.html all 3 are the same page. after explaining to the guy (who built the website) the errors, he ensured me that the main URL is URl 1. and the other 2 are 301 redirects. however SEOmoz analysis doesnt seem to change the results and webmastertools doesnt seem to show any errors at all. also if i try all 3 URL's there are no redirects to URL 1. any help or clarity would be awesome! Thanks e-bob
Moz Pro | | bobsnowzell0 -
Lots of site errors after last crawl....
Something interesting happened on the last update for my site on SEOmoz pro tools. For the last month or so the errors on my site were very low, then on the last update I had a huge spike in errors, warnings, and notices. I'm not sure if somehow I made a change to my site (without knowing it) and I caused all of these errors, or if it just took a few months to find all the errors on my site? My duplicate page content went from 0 to 45, my duplicate page titles went from 0 to 105, my 4xx (client error) went from 0 to 4, and my title missing or empty went from 0 to 3. On the warnings sections my missing meta description tag went form a hand full to 444. (most of these looking to be archive pages.) Down in the notices I have over 2000 that are blocked by meta robots, meta-robots nofollow, and Rel canonical. I didn't have any where near this many prior to the last update of my site. I just wanted to see what I need to do to clean this up, and figure out if I did something to cause all the errors. I'm assuming the red errors are the first things I need to clean up. Any help you guys can provide would be greatly appreciated. Also if you'd like me to post any additional information, please let me know and I'd be glad to.
Moz Pro | | NoahsDad0