Recent Web Log Entries By Ben Nadel

Showing 1 - 15 of 19   < Prev | Next >

Using IIS URL Rewriting And Application.cfc's OnMissingTemplate() Event Handler

Posted: September 8, 2009 at 9:37 AM by Ben Nadel

Tags: ColdFusion, Search Engine Optimization

When I first starting looking into IIS URL rewriting using IIS Mod-Rewrite , I stated that I didn't want to start distributing the business logic of my application too widely. As such, all my URL rewriting configuration file did was reroute missing-file requests to my ColdFusion application's front-controller. This way, all of the URL mapping was... read more »

Comments (14)  |  Post Comment  |  Ask Ben  |  Permalink



RewriteCond Directives Evaluated After RewriteRule Directives In URL Rewriting

Posted: September 4, 2009 at 11:19 AM by Ben Nadel

Tags: ColdFusion, Search Engine Optimization

This is a minor point, but an important one regarding the control flow of directives within IIS Mod-Rewrite's URL rewriting configuration files. When I first looked at the RewriteCond (rewrite condition) and RewriteRule (rewrite rule) directives , I thought of them like programmatic IF-Statements such that the RewriteCond directives would be eval... read more »

Comments (1)  |  Post Comment  |  Ask Ben  |  Permalink


Understanding The IIS Mod-Rewrite Server Variables

Posted: September 3, 2009 at 8:26 PM by Ben Nadel

Tags: ColdFusion, Search Engine Optimization

When writing RewriteCond (rewrite condition) and RewriteRule (rewrite rule) directives in IIS Mod-Rewrite's URL rewriting configuration files, we have access to several server variables. We can get the value of these server variables using the following syntax: %{VARIABLE_NAME} So, for example, to get the name of the requested file name, we wo... read more »

Comments (6)  |  Post Comment  |  Ask Ben  |  Permalink



Understanding The IIS Mod-Rewrite Log File And Work Flow

Posted: September 3, 2009 at 2:33 PM by Ben Nadel

Tags: ColdFusion, Search Engine Optimization

As I have just started experimenting with URL rewriting in ColdFusion using IIS Mod-Rewrite , I have a lot of learning to do. While some of my experiments are working, I am getting some very unexpected (and frustrating) results which clearly indicate that I need to get a stronger hold on the work flow executing behind each URL rewrite. To gather ... read more »

Comments (10)  |  Post Comment  |  Ask Ben  |  Permalink


Exploring IIS Mod-Rewrite For Rewriting URLs In A ColdFusion Application

Posted: September 1, 2009 at 2:59 PM by Ben Nadel

Tags: ColdFusion, Search Engine Optimization

I've always liked the concept of URL rewriting; but, I've never actually known very much about it. To date, all of the URL "rewriting" that I've done has always been built on top of IIS's 404 error URLs or ColdFusion's OnMissingTemplate() event handler . This has worked, but has always been a hacky solution. Using 404 error handling is easy, bu... read more »

Comments (35)  |  Post Comment  |  Ask Ben  |  Permalink


Creating A "Down For Maintenance" Page Using Application.cfc

Posted: January 9, 2008 at 9:07 AM by Ben Nadel

Tags: ColdFusion, Search Engine Optimization

As some of you may or may not noticed, my site was down earlier for maintenance (more on that later). None of the ColdFusion pages on my site were available, no matter what URLs you used. Creating a page like this is insanely easy when you are using ColdFusion's Application.cfc component. If you have ever examined the application event methods ava... read more »

Comments (15)  |  Post Comment  |  Ask Ben  |  Permalink


ColdFusion 404 Handling Makes Sub Domain Redirects Hard

Posted: September 19, 2007 at 1:07 PM by Ben Nadel

Tags: ColdFusion, Search Engine Optimization

My site runs on the handling of 404 Page Not Found IIS errors within ColdFusion . It is through this mechanism that I am able to translate things like: www.bennadel.com/foo/bar.htm ... into: www.bennadel.com/index.cfm?dax=foo.bar This has been really cool for search engine optimization, but has certainly added some complexity to the page load... read more »

Comments (9)  |  Post Comment  |  Ask Ben  |  Permalink


Exploring Path Info And How It Interacts With ColdFusion And The Browser

Posted: July 18, 2007 at 4:11 PM by Ben Nadel

Tags: ColdFusion, Search Engine Optimization

Earlier today, I blogged about using addition URL path information to solve the Save-As problem that crops up when streaming files using ColdFusion and CFContent. IIS puts this extra URL path information into the CGI variable, path_info. Before today, I had never used this, so I thought it would be good to do a little exploration to see how diff... read more »

Comments (4)  |  Post Comment  |  Ask Ben  |  Permalink


Why Do I Even Get Any Huge Ass Traffic?

Posted: June 26, 2007 at 8:42 AM by Ben Nadel

Tags: Search Engine Optimization

There was a post yesterday on Full As A Goog (sorry I cannot remember the URL - the Full As A Goog "Search" functionality seems to search the visible page only) with a video that had information about internet porn. It stated that there were literally hundred of millions of porn sites current on the internet. That's a lot of porn. Recently, I ... read more »

Comments (16)  |  Post Comment  |  Ask Ben  |  Permalink


Ask Ben: Truncating The Event Titles In A Calendar Display

Posted: May 7, 2007 at 3:29 PM by Ben Nadel

Tags: Ask Ben, HTML / CSS, Search Engine Optimization

Say you need to display items on the calendar by text description. You need to show the "title" of the event(s) in an abbreviated form. For example: Long Event Title Goes Here Ben Nadel Might need to be abbreviated as Long Event Title. . . How would you repeatedly determine where to truncate an event title for a calendar? For something like th... read more »

Comments (12)  |  Post Comment  |  Ask Ben  |  Permalink


Skin Spider : Page Data Component

Posted: November 5, 2006 at 11:38 AM by Ben Nadel

Tags: ColdFusion, Search Engine Optimization, Skin Spider

To learn all about Skin Spider, click here . To view the most updated application, click here . To view the current code base, click here . Until now, the only thing we set programmatically about the page was a variable called REQUEST.Page. We used this value to determine which primary navigational element was turned on. This was nice and si... read more »

Comments (4)  |  Post Comment  |  Ask Ben  |  Permalink


Ooops, Links Not Working

Posted: June 21, 2006 at 6:31 PM by Ben Nadel

Tags: ColdFusion, Search Engine Optimization

I just realized that one line of code I put into my 404 page-not-found handler (for search engine optimization SEO) was breaking my links. Yikes! I guess that should teach me to more thoroughly test my code once it goes life. ... read more »

Comments (0)  |  Post Comment  |  Ask Ben  |  Permalink


Search Engine Optimization... Another Go Round

Posted: June 19, 2006 at 8:51 AM by Ben Nadel

Tags: Search Engine Optimization

After talking to Michael Dinowitz at last week's NYCFUG meeting, I have moved my site over to use more search engine optimized links. Instead of going to directories, such as "blog/", all my site links go to "actual" pages, such as "blog/blog-entries.htm". All the pages go to ".htm" files so that the ColdFusion error handler doesn't get called... read more »

Comments (3)  |  Post Comment  |  Ask Ben  |  Permalink


What Search Engine Spiders See

Posted: June 15, 2006 at 9:57 AM by Ben Nadel

Tags: Search Engine Optimization

I was just posting a Search Engine Optimization question on the House of Fusion CF-Talk list when Nick Tong posted a link to " What Search Engine Spiders See ". This page blows my mind. It allows you to enter in a url and get a report back regarding the page content based on how the search engine web spiders/crawlers see your content. It is fant... read more »

Comments (5)  |  Post Comment  |  Ask Ben  |  Permalink


Search Engine Optimization... Continued

Posted: June 14, 2006 at 9:37 AM by Ben Nadel

Tags: Search Engine Optimization

In attempt to try an optimize my search engine indexability, I have added a "Complete Web Log Entry List" link as the first item on my homepage content. This way, there will be a page that will have every web log entry's detail page listed for indexing. One of the problems that I have found with search engines is that they will index my "recent"... read more »

Comments (0)  |  Post Comment  |  Ask Ben  |  Permalink

Showing 1 - 15 of 19   Pages: 1 2 < Prev | Next >

View All Blog Entries »

  • 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 »