Forum Moderators: mack
In the past I simply deleted the old page and did a redirect from the old url to the new one. I'm assuming that's not good enough, if custom error pages are so important.
As you can tell, I'm pretty confused, and hope someone can straighten me out.
2. If you do not have a new url that is similar to the old url, then go with a 404 error page, custom or default. Just make sure that a custom page delivers a 404 http header, or you can confuse the saerch engines mightily.
These two steps will serve both your human visitors and the search engines quite wwll.
I have no idea about server-side scripting.
Is there any reason why I can't just redirect the visitor to a closely related new url (even though that page might not be identical to the original)?
Or, in cases where a page simply no longer exists in any form (like, I completely got rid of the "blue widgets"), can't I just do something low-tech like creating a page for the old url, with the message "this page no longer exists," and then provide links to the home page or other pages that might interest the visitor?
Or would this somehow mess up the search engine bots?
My Cpanel, incidentally, has a form that allows you to create custom error pages, but dork that I am, I can't even figure out how to use that. You can choose options like: "Referring URL," "Requested URL," etc. The above two options create the following bits of code respectively:
<!--#echo var="HTTP_REFERER" -->
<!--#echo var="HTTP_REFERER" -->
Unfortunately, I have no idea what to do with them.