Broken links?

Discussion in 'Site & Server Administration' started by latehorn, Jan 15, 2006.

  1. #1
    Most of my traffic from my site "Handle mistakes" (which you can find in my signature) is on the error404.html document which means that I have some broken links, google will therefore decrease my ratings :(

    Here's what my webstat tells me:

    and this is my .htaccess:

    I've tried to find any broken link but I wasn't able to find one. WHY??
     
    latehorn, Jan 15, 2006 IP
  2. Jean-Luc

    Jean-Luc Peon

    Messages:
    601
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,

    Two questions :
    - Do you have access to the log file of your web server ?
    - What stats package do you use ?

    [edit] Suggestion regarding a change in .htaccess : not applicable, deleted [/edit]

    Jean-Luc
     
    Jean-Luc, Jan 15, 2006 IP
  3. Jean-Luc

    Jean-Luc Peon

    Messages:
    601
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I don't think it is a good idea to use three interlinked subdomains the way you do it. For Google and the other major search engines, these three domains will be seen as three different sites.

    It also makes it more difficult to correctly use the ErrorDocument in the .htaccess file (i.e. without http ://...). What you should have, for each subdomain, is something like :
    ErrorDocument 404 /error404.html
    Code (markup):
    Jean-Luc
     
    Jean-Luc, Jan 15, 2006 IP
  4. latehorn

    latehorn Guest

    Messages:
    4,676
    Likes Received:
    238
    Best Answers:
    0
    Trophy Points:
    0
    #4
    1. No
    2. modlogan 0.8.13

    What should I do in the htaccess? Where should I do it and Why should I do it?
     
    latehorn, Jan 15, 2006 IP
  5. latehorn

    latehorn Guest

    Messages:
    4,676
    Likes Received:
    238
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Three? I just know one except "www", "forum". What other subdomains are there? stats.handlemistakes.com and phpmyadmin.handlemistakes.com?
     
    latehorn, Jan 15, 2006 IP
  6. Jean-Luc

    Jean-Luc Peon

    Messages:
    601
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #6
    When I click on the "Handle Mistakes" link in your signature, I get the www subdomain. All links there go to the forum subdomain. Your .htaccess redirects errors to a "no subdomain" address (what I called 3rd subdomain).

    No access to the log file and no info in the stats package: bad luck!:confused:

    I would use ErrorDocument 404 /error404.php. Your error404.php could send you an email including $HTTP_REFERER and $SCRIPT_URI.

    Do not use ErrorDocument 404 http://handlemistakes.com/error404.php. This makes the 404 invisible and replaces it by a 302 redirect.

    Jean-Luc
     
    Jean-Luc, Jan 15, 2006 IP