1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help please, new site has 60,000 404 errors

Discussion in 'White Hat SEO' started by Snow, Nov 22, 2016.

  1. Snow

    Snow Newbie

    Joined:
    Nov 8, 2016
    Messages:
    12
    Likes Received:
    4
    Gender:
    Male
    Hi,

    I just had a new site built and there are 60,000 404 errors that have come up since the new site was uploaded. Does anyone know why this would be?
     
  2. webwhizz

    webwhizz BANNED BANNED

    Joined:
    Apr 3, 2011
    Messages:
    724
    Likes Received:
    659
    change your permalinks in wordpress settings?
     
  3. Snow

    Snow Newbie

    Joined:
    Nov 8, 2016
    Messages:
    12
    Likes Received:
    4
    Gender:
    Male
    It's picked as "post-name"
     
  4. webwhizz

    webwhizz BANNED BANNED

    Joined:
    Apr 3, 2011
    Messages:
    724
    Likes Received:
    659

    well just try them all, to see if it works, i think postname is default, but your original might of been custom, hard to say without seeing it. but id guess it's something with permalinks.
     
  5. umerjutt00

    umerjutt00 Jr. VIP Jr. VIP

    Joined:
    Oct 28, 2011
    Messages:
    3,909
    Likes Received:
    2,170
    Occupation:
    Ninja
  6. youtalkmedia

    youtalkmedia Senior Member

    Joined:
    Dec 5, 2011
    Messages:
    850
    Likes Received:
    382
    Occupation:
    Web Developer
    Location:
    Toronto
    Home Page:
    If it was a copy paste install of a CMS many people forget to copy the .htaccess file since it is hidden. You can usually fix this by selecting another type of slug, then changing back, or if you still have access to the old host, copying the file.
     
  7. webwhizz

    webwhizz BANNED BANNED

    Joined:
    Apr 3, 2011
    Messages:
    724
    Likes Received:
    659
    .htaccess file usually get error 500 for that, but OP is bit vague, could be anything really.
     
  8. youtalkmedia

    youtalkmedia Senior Member

    Joined:
    Dec 5, 2011
    Messages:
    850
    Likes Received:
    382
    Occupation:
    Web Developer
    Location:
    Toronto
    Home Page:
  9. CenTex Hosting

    CenTex Hosting Jr. VIP Jr. VIP

    Joined:
    Nov 8, 2009
    Messages:
    2,173
    Likes Received:
    838
    Gender:
    Male
    Occupation:
    Founder/CEO
    Location:
    Austin, TX
    Home Page:
    that is a ton of errors I would have to go crazy with that many.
     
  10. krishnacode360

    krishnacode360 Power Member

    Joined:
    May 30, 2012
    Messages:
    767
    Likes Received:
    210
    I feel its negative seo. This is the latest startegy to do it . One f my site got it. my competetor repeatedly browsing non existent pages on my site and they got indexed on google
     
  11. MikeFenton

    MikeFenton Newbie

    Joined:
    Sep 8, 2016
    Messages:
    26
    Likes Received:
    3
    Google can penalize a site if it has such huge 404 errors.. although this is a terrific method for some people!
     
  12. Snow

    Snow Newbie

    Joined:
    Nov 8, 2016
    Messages:
    12
    Likes Received:
    4
    Gender:
    Male
    Hi Guys, thanks all for your thoughts, I found that it seems to be some kind of Japanese Spam campaign, i wanted to link it here, but seems i'm not allowed to. This is a really positive community with people genuinely helping each other, keep it up!
     
  13. ScissorBlake

    ScissorBlake Newbie

    Joined:
    Oct 28, 2016
    Messages:
    42
    Likes Received:
    3
    Gender:
    Male
    60k? Really? Who have built your website?
     
  14. trafficexpert393

    trafficexpert393 Jr. VIP Jr. VIP

    Joined:
    Dec 5, 2013
    Messages:
    143
    Likes Received:
    7
    Gender:
    Male
    Occupation:
    Professional SEO Agency
    Location:
    West Virginia
    Wow, that sounds like negative SEO to me.
     
  15. Zwielicht

    Zwielicht Moderator Staff Member Moderator Jr. VIP

    Joined:
    Aug 31, 2013
    Messages:
    7,735
    Likes Received:
    13,905
    Gender:
    Male
    Occupation:
    Death
    Location:
    Riverside, California
    Home Page:
    I recently dealt with something similar on one of my sites. However, instead of it showing up as a bunch of non-existent permalinks, it was targeting my search form!
    [​IMG]

    I recently wrote an article on it recently as it reminded me of referrer spam. You can read it here, but I'll tell you what was going on in my case and what I did to fix it in my post.

    So some guy on another forum posted this as a possible reason for the spam.
    The spammer who hit your site may have shared the same motive, though with a different method.

    Anyway, to fix it (for any of you dealing with search form spam) add these two line to your robots.txt file
    Code:
    User-agent: *
    Disallow: /?s=
    That'll keep Google from crawling search form queries.

    If your visitors don't use your search form often, you can try disabling it permanently or at least temporarily. There's a plugin you can use for that.

    You may have a few other options such as changing your search parameters, but I have yet to test these. Regardless, here's the search parameter code below:
    PHP:
    // Add this code to your functions.php file in your active theme folder

    // Allow WordPress to access “search” in the query string
    function ds_whitelist_new_search_parameter$allowed_query_vars ) {
    $allowed_query_vars[] = ‘search’;
    return 
    $allowed_query_vars;
    }
    add_filter(‘query_vars’‘ds_whitelist_new_search_parameter’ );

    // populate s parameter with value of search
    function ds_swap_search_parameter($query_string) {

    $query_string_array = array();

    // convert the query string to an array
    parse_str($query_string$query_string_array);

    // if “search” is in the query string
    if(isset($query_string_array[‘search’])){
    $query_string_array[‘s’] = $query_string_array[‘search’]; // replace “s” with value of “search”
    unset($query_string_array[‘search’]); // delete “search” from query string
    }

    return 
    http_build_query($query_string_array&); // Return our modified query variables
    }
    add_filter(‘query_string’‘ds_swap_search_parameter’);
    As for whether or not these 404 errors will hurt your site, this article's a bit old, but 404 errors on pages that never existed on your site won't hurt your rankings. Howeverm if Google picks up a bunch of 404 errors on pages that are currently indexed, then expect your rankings to plummet. Still, get them fixed.
    https://webmasters.googleblog.com/2011/05/do-404s-hurt-my-site.html
    Now, in your case where the URLs are showing up as permalinks as if they're posts on your site, add a honeypot to your site that detects users or bots searching for huge numbers of nonexistent pages and subsequently blocks them. There was a user on a webmaster forum who used a honeypot on his site for this purpose, so you should be able to as well.
     
    Last edited: Jan 16, 2017