How can I create correct breadcrumbs when using Views arguments? I have a custom CCK content type for blog posts and I’m using Views to display the posts in an archived list. I use two arguments—Node: Created year and Node: Created month—to generate the monthly and yearly archive pages, which allows me to build URLs like http://example.com/blog/2011 and http://example.com/blog/2011/08. This is pretty standard stuff and really easy to do with Views.

While the actual archive list pages are working just fine, the breadcrumbs that views generates are not. With the URL http://example.com/blog/2011/08, instead of creating this kind of trail (which seems correct):

Titles = Home &gt; Blog  &gt; 2011       &gt; August  
URLs   = /      /blog   /blog/2011   /blog/2011/08  


… Views generates this incorrect breadcrumb trail: 

Titles = Home &gt; Blog  &gt; 2011  &gt; August  
URLs   = /      /blog   /blog   /blog/2011  


The URL generated for the year argument points to /blog rather than /blog/[yyyy], and the generated URL for the month argument only points to the year, not the month. 

Going down one level (to http://example.com/blog/2011) creates a similar problem: 

Titles = Home &gt; Blog  &gt; 2011
URLs   = /      /blog   /blog   


In both cases, none of the arguments' URLs are output correctly, while their titles are.

My settings for each of the arguments in Views are pretty standard: Month settings and Year settings. The path for the page display is just "blog".

What is causing this strange breadcrumb behavior and how can I fix it?

Thanks!
Check out the Custom Breadcrumbs module which has support for Views. Here is a quote about it (from the module's project page):

Custom Breadcrumbs 1:
Allows administrators to set up parametrized breadcrumb trails for any node type. This allows CCK-style node types to have &quot;Home &gt; User Blog &gt; 2005 &gt; January&quot; style breadcrumbs on the node view page itself, synchronizing cleanly with custom views or pathauto aliases. Breadcrumb visibility can be customized via a php snippet.
Custom Breadcrumbs 2:
Many new features have been added including support for Views, Panels, Taxonomy vocabularies and terms, paths, and a simple API that allows contributed modules to enable custom breadcrumbs for module pages and theme templates. These are implemented using optional, independent submodules that depend on the main Custom Breadcrumbs module.
In addition to breadcrumb visibility, this version provides an option permitting PHP code snippets to be used in forming the breadcrumb titles and paths. Multiple languages are also supported.