Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 11 of 11
  1. #1
    þórr mjǫlnir
    draggar's Avatar
    Join Date
    Dec 2007
    Location
    South Florida
    Posts
    12,638
    Country

    Czech Republic
    DNF$
    4,791
    Bank
    114,257
    Total DNF$
    119,048
    Donate  

    How to fix / eliminate 404 errors?

    Some of my sites are getting a significant amount of 404 errors - most likely from linking old pages.

    Is it possible to set up something where all the 404s will be redirected to the splash page?

    Is something like this advisable (say anti-spam measures)?
    Save the wolves - join The Wolf Army today!
    Please follow the rules or suffer the wrath of Thor's Hammer.

  2. #2
    Jedi Master
    Bob's Avatar
    Join Date
    Apr 2002
    Posts
    3,133
    DNF$
    49,605
    Bank
    0
    Total DNF$
    49,605
    Donate  
    In your .htaccess file, put this line:


    ErrorDocument 404 /index.html

    where index.html is whatever file you want to direct to.

    -Bob
    . . .

  3. #3
    DNF Addict

    Join Date
    Jun 2003
    Location
    .DE
    Posts
    1,506
    DNF$
    3,928
    Bank
    0
    Total DNF$
    3,928
    Donate  
    Using a simple text editor, you'll have to create a file called .htaccess. Then add the following into the file:

    ErrorDocument 404 /index.html

    This would redirect users to the home page. You can also add more redirects for other error codes, such as 400, 403 etc.

    Then upload the file into the web site's main directory.

    *Edit* Bob beat me to it.

  4. #4
    þórr mjǫlnir
    draggar's Avatar
    Join Date
    Dec 2007
    Location
    South Florida
    Posts
    12,638
    Country

    Czech Republic
    DNF$
    4,791
    Bank
    114,257
    Total DNF$
    119,048
    Donate  
    Excellent, TY.
    Save the wolves - join The Wolf Army today!
    Please follow the rules or suffer the wrath of Thor's Hammer.

  5. #5
    DNF Addict
    south's Avatar
    Join Date
    Dec 2006
    Location
    33143/04930
    Posts
    4,905
    DNF$
    6,764
    Bank
    0
    Total DNF$
    6,764
    Donate  
    Be careful. Not sure google likes that..
    All offers good for 72 hours except running auctions

    Progeria Research | Pulmonary Fibrosis | Dammit!

  6. #6
    DNF Addict

    Join Date
    Jun 2003
    Location
    .DE
    Posts
    1,506
    DNF$
    3,928
    Bank
    0
    Total DNF$
    3,928
    Donate  
    Quote Originally Posted by south View Post
    Be careful. Not sure google likes that..
    Why not? I haven't had any problems with it so far and the biggest websites use this or a similar method to avoid blank error pages, too.

  7. #7
    þórr mjǫlnir
    draggar's Avatar
    Join Date
    Dec 2007
    Location
    South Florida
    Posts
    12,638
    Country

    Czech Republic
    DNF$
    4,791
    Bank
    114,257
    Total DNF$
    119,048
    Donate  
    Quote Originally Posted by south View Post
    Be careful. Not sure google likes that..
    Why?

    My main concern is people going to the site and getting the 404 thinking the site no longer exists (it is my wife's business) as opposed to just typing in / going to a wrong page?

    Google not liking it may be an issue, too.

    Also - how about global subdomain redirects?
    Save the wolves - join The Wolf Army today!
    Please follow the rules or suffer the wrath of Thor's Hammer.

  8. #8
    DNF Addict
    south's Avatar
    Join Date
    Dec 2006
    Location
    33143/04930
    Posts
    4,905
    DNF$
    6,764
    Bank
    0
    Total DNF$
    6,764
    Donate  
    Not saying to use it under no circumstances, but it is my impression that google likes to find a true 404. If I see a lot of 404's to a page that used to exist, I often create that page, as google and others frequently maintain it in their search results even if it's no longer a real page, or not linked to from your internal links. In addition, if you have too many pages with the same content, they will further penalize you. Meaning that if a good chunk of your traffic is being redirected from a non existent page to your home page (for example), it could appear as the same content on multiple pages.

    Also: http://www.google.com/support/webmas...n&answer=93641

    Cheers!
    All offers good for 72 hours except running auctions

    Progeria Research | Pulmonary Fibrosis | Dammit!

  9. #9
    Platinum Lifetime Member

    Join Date
    Jun 2003
    Posts
    80
    DNF$
    283
    Bank
    0
    Total DNF$
    283
    Donate  
    Well, Google actually provides a widget that you can install that suggests what might be the correct page on your site. See www.maine.info/festivalss.php (an erroneous page for which Google's widget itself has suggested the correct page, plus has given an internal search box).

    For more info, see http://googlewebmastercentral.blogsp...re-useful.html

    Get the enhanced 404 widget here - http://www.google.com/support/webmas...?answer=136085

    You will need to to ensure that Custom error documents are available (and enabled) on your server, and you will need access to the relevant custom error document so that you can edit it.

    gck
    Small Community on Dedicated Server - www.maine.info/hosting

  10. #10
    Platinum Lifetime Member
    dcristo's Avatar
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    3,304
    DNF$
    2,238
    Bank
    0
    Total DNF$
    2,238
    Donate  
    Quote Originally Posted by south View Post
    Be careful. Not sure google likes that..
    True. Setting up a custom 404 page is best, and achieves the same purpose.

  11. #11
    DNF Member
    godolphin's Avatar
    Join Date
    Dec 2005
    Posts
    732
    DNF$
    2,367
    Bank
    0
    Total DNF$
    2,367
    Donate  
    I've got some 404's on pages of my Wordpress Blog. Is the process for it same? I do not have good web design knowledge, kindly help.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com