Well, you shouldn't have any 404's LOL, I laugh but I'm actually serious. If
it was an old page in the index somewhere you should never let it reach a
404 error. Our SEO team would kill us if we let a site re-design go with a
404.

Something I'm doing now on one of our sites since I don't even want to hold
on to old .html or .php page names and make a 301 in IIS is change the
default error template in IIS to use my 404error.cfm page. This could hold a
list in memory of pages that generate 404 errors and when one of those page
get called, this kicks in and does the following.

<cfheader statuscode="301" statustext="Moved permanently">
<cfheader name="Location" value="http://www.new-url.com";>
<cfabort>

For this project I know the directory structure is exactly the same even the
page name, only thing that changed is the extension so with a quick replace
and redirect the visitor never sees the 404 and on the SEO side, they think
it was moved permanently.

Of course you need to know what the new url is for this to work but it is
one way to handle it. there are other ways to handle this when you are
talking about a missing .cfm 404 error which is normally handled by
coldfusion anyway so you can catch those and make a similar call like the
one above or do a search of your site for pages that resemble the URL and
state the visitor might be interested in one of these pages instead.

Best option is always research it a bit and see if you can match the 404
page with a new page on your site, and fix the link as quickly as possible.
-- 
Casey Dougall
Web Applications Developer
Ph: (518) 743-9424 Ext: 204  Fax:(518) 743-0337
Mannix Marketing Inc. 33 Park St. Third Floor, Glens Falls, New York 12801


On 2/6/07, Matt Robertson <[EMAIL PROTECTED]> wrote:
>
> I have a client who feels that CF handling 404 errors is a problem
> with respect to SEO.  He may be right.  How do you folks handle a
> genuine 404 in your CF-based 404 handler?
>
> --
> [EMAIL PROTECTED]
> Janitor, The Robertson Team
> mysecretbase.com
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268912
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to