Search Engine Optimization and Error Catching

Posted April 19, 2006 at 8:43 AM by Ben Nadel

Tags: ColdFusion, Search Engine Optimization

I have been trying to build this site with good search engine optimization (SEO). The top item on the SEO list is the link hrefs. My site is built on a DAX string (Divide and Qonquer mentality - "daq's") in the form of:

"index.cfm?dax=blog:4.view

However, in order to make the site more SEO, I have retooled the links to be in the form of:

./blog/4-this-is-the-entry-title/view

which essentially gets parsed into the DAX string metioned above. The concern I have here is that this is actually throwing a 404 file not found error. However, I catch this in a custom error handler page and manually set the page status to 202:

<cfheader statuscode="200" statustext="OK" />

When I do a CFHttp to test the status of my pages, it does indeed come back as 200; however, I am seeing in my logs that spiders will hit the home page of my site, but then not hit anything else. I don't know if that is because it can somehow figure out that it's actually hitting a 404 page or what? But then again, even if they had to do a page grab to get the status code, my logs would have that as well.

So, why are search engines not moving past my homepage? More to come....



Reader Comments

Jul 10, 2007 at 11:15 PM // reply »
4 Comments

Any problem on Google Site Map verification. I am not able to verify some of my site using customized 404 page for not found pages.

Thanks


Jul 11, 2007 at 8:40 AM // reply »
11,314 Comments

What kind of server-side scripting are you using? You should be able to override the 404 by passing custom headers.


Jul 11, 2007 at 11:21 AM // reply »
4 Comments

I have the same issue with 2 custom PHP application, and one Joomla site.

Thanks


Mar 27, 2009 at 4:32 PM // reply »
1 Comments

Technologies: mod_perl php apache xml mysql mssql nt linux java ajax ant solr

Migrated relational data to SOLR for improved search functionality.
Initiated process to standardize AJAX development on Yahoo UI toolkit (involved leading a team to review existing systems, define requirements, identify integration points and impact of adoption, and propose adoption guidelines)
Worked with operations team to maintain and extend functionality of ticket tracking and CRM tools.
Reduced code execution through refactoring, code analysis and database optimization
Kept development blog to increase communication between coasts department structure.
Introduced testing procedures and tools for non-Java projects.
Introduced standard build process for PHP and Perl code using Ant/Java - reduced push time and associated push problems.
Identified stakeholders and managed communication between multiple developers and external stakeholders for multiple projects.


Post A Comment

Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.

Please review the following issues:

Author Name:


Author Email:

Author Website:

Comment:

Supported HTML tags for formatting: <strong>bold</strong>   <em>italic</em>   <code>code</code>







  • Help Wanted - Find Your Next ColdFusion Job
Ben Nadel's Company - Epicenter Consulting Recent Blog Comments
Jun 19, 2013 at 10:41 PM
Referencing ColdFusion Query Columns In A Loop Using Both Array And Dot Notation
Burdock-roots Are you going fat day by day? You need to be good for your family and make some money too. So we bring for you a best product that helps you to be more energetic every day. You will b ... read »
Jun 19, 2013 at 9:52 PM
Working With Inherited Collections In AngularJS
I recognize the applicability of your solution, and how easy it makes to share data across multiple views or even "submodules" of rather simple application. But it seems to me that it creat ... read »
Jun 19, 2013 at 9:38 PM
Directive Link, $observe, And $watch Functions Execute Inside An AngularJS Context
@Alesei, Glad you like it. Even after working with AngularJS for months, I still get a bunch of unexpected, "$digest is already in progress". So hard to debug sometimes! ... read »
Jun 19, 2013 at 9:36 PM
Working With Inherited Collections In AngularJS
@Mike, The relationship of $scope values is definitely an interesting thing! But it's not simple - it really forces you to understand prototypal inheritance, which is not at all a simple topic! Gla ... read »
Jun 19, 2013 at 9:35 PM
Experimenting With The Amazon Simple Storage Service (S3) API Using ColdFusion
@Joe, Oh, super interesting! I had only thought to url-encode the signature; but I think that's because the S3 docs actually have a special NOTE telling you to do so. It would have never occurred t ... read »
Jun 19, 2013 at 9:32 PM
Experimenting With The Amazon Simple Storage Service (S3) API Using ColdFusion
@Richard, Glad you like! Hopefully I'll have some more interesting stuff coming. This morning, I blogged a bit more about generating the pre-signed, query string authenticated URLs; but, then deeme ... read »
Jun 19, 2013 at 9:31 PM
Filter vs. ngHide With ngRepeat In AngularJS
@Mike, Honestly, in the majority of cases, I would say there isn't going to be a difference. Both approaches have trade-offs. If you use the filter, then you have fewer DOM elements and fewer $scop ... read »
Jun 19, 2013 at 2:01 PM
Experimenting With The Amazon Simple Storage Service (S3) API Using ColdFusion
I have coincidentally been beating my head against the S3 API for the last week or so. One big "gotcha" I had to work around was file names and paths containing spaces. Remember to URL Enco ... read »
InVision App - Prototyping Made Beautiful With Prototyping Tools