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??
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
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
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?
Three? I just know one except "www", "forum". What other subdomains are there? stats.handlemistakes.com and phpmyadmin.handlemistakes.com?
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! 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