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 »
10,640 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
InVision App - Prototyping Made Beautiful With Prototyping Tools Ben Nadel's Company - Epicenter Consulting Recent Blog Comments
Feb 10, 2012 at 7:21 PM
jQuery AJAX Strips Script Tags And Inserts Them After Parent-Most Elements
Update! Instead of $(eval(options.insertAfter)).after(data['insertData']); I now use: var ajaxNode = document.createElement('span'); var parent = $(eval(options.insertAfter))[0].parentNode; ... read »
Feb 10, 2012 at 6:18 PM
jQuery AJAX Strips Script Tags And Inserts Them After Parent-Most Elements
encountered this same, what I consider, jQuery bug last week. I'm building a site in which I load some content via AJAX. This content contains Linkedin share button placeholders which Linkedin API ne ... read »
Feb 10, 2012 at 11:30 AM
Cross-Origin Resource Sharing (CORS) AJAX Requests Between jQuery And Node.js
After you understand the concepts here, this is an awesome cheatsheet for enabling CORS in just about anything http://enable-cors.org/ ... read »
JM
Feb 10, 2012 at 9:10 AM
My Safari Browser SQLite Database Hello World Example
@Amy, Here is a very good tutorial on how to use JOIN: http://www.sqltutorial.org/sqljoin-innerjoin.aspx ... read »
Feb 10, 2012 at 4:42 AM
Building A Twitter-Inspired RESTful API Architecture In ColdFusion
This is great, very useful Ben. I spotted a small typo in the api.cgm listing: <cfthrow type="Unauthroized" /> Cheers Stefan ... read »
Feb 9, 2012 at 10:35 PM
CFDirectory Filtering Uses Pipe Character For Multiple Filters (Thanks Steve Withington)
I was wondering if there would be a filter you could apply so that you got everything but what you included in the filter. As in show me all docs that are not a .pdf. ... read »
Feb 9, 2012 at 10:29 PM
Learning ColdFusion 9: Application-Specific Data Sources
@Ben, No offence, but if people were really wanting advanced features they would be using a platform like ASP.NET MVC. CFML is so structurally compromised as a tag-based scripting language that ... read »
Feb 9, 2012 at 10:03 PM
Subversion - Cleanup Failed To Process The Following Paths
@Leviaguirre, do you still have problems with this? ... read »