Forum Moderators: Robert Charlton & goodroi
Around 10.000 classifieds are inserted every day and there a lot of classifieds where the life span is one day (yes one day!).
The real problem is the second one: classifieds that live just one day. Of course Google enter, index them but when somebody click on the page from Google they are gone.
Keep all the expired classifieds is a huge load for database server: I have to clean them every day.
Anybody have an idea how to capture all that traffic to the expired classfieds?
If when an expired link is clicked on it shows 404 error;
'Not Found
The requested URL domain.com/notaurl.html was not found on this server.'
Then you can create a custom 404 error page that could contain a re-direct script, which after 4 seconds or something forwards the user to the homepage of the website. Or just a 404 error page with links to other accessible parts of the site would be useful.
Re-direct example:
<HTML>
<head>
<meta HTTP-EQUIV="Refresh" CONTENT="4; URL=index.htm">
</head>
<body>
Sorry, this page no longer exists or was not found. In a few seconds, you will be redirected to our homepage,
Thank you.
</HTML>
Also make sure your custom 404 error page is no bigger than 512 bytes otherwise on IE browsers visitors will just see the standard browsers error page rather than your sites one you want them to see. So don't add any graphics, just simple text and a re-direct. Also you want the most minimal load times anyway so that the user can quickly get back to browsing your site.
Good luck,
Oranjy
P.S this is the wrong board.