Why don't my URL mapping rules seem to be working?

There are two common mistakes that are made when setting URL mapping rules:

  1. The rules are regular expressions and not 'pattern matches'. E.g. if you want to match every URL that begins with /zeus, you would have to use the rule /zeus.* and not just /zeus* (note the full stop).

  2. The rules are 'tied' to the start and end of the URL. This includes any 'query-string' as well. The rule /zeus will only match the URL /zeus. It will NOT match /zeus/morezeus or /zeus?query.

Content Manager [Administrator] 12 August 2005 Bookmark with del.icio.us Post this article to Digg Post this article to reddit Post this article to Facebook Tweet this article  

Recently...

Other Resources