Brian H. said the following on 11/14/2010 02:24 PM:
I am trying to achieve routes where the urlAlises contains one or more
instances of the delimiter character, such as:

http://www.domain.com/product/view/123
Sorry, that's not possible to accomplish in Mach-II. We took a similar approach to other non-CFML frameworks that provide "routing" that is not based on something like Apache mod-rewrite.

You could use mod rewrite if you wanted:

<parameter name="product.view">
   <struct>
      <key name="event" value="product.view" />
      <key name="urlAlias" value="product/view" />
   </struct>
</parameter>

to rewrite /product/view/123 to use the non-alias of /product.view/123

Typically I recommend using "-" instead of "/" anyways. According to Google, they see "-" (and usually "_") as a space so it more semantic look as search engine. For us at GBT, we just use:

/product-view/123
/product-edit/123

HTH,
.Peter

--
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to