Chris Parrish wrote: > Back on track... I see three possible methods: > 1.) Current behavior with trailing slashes (slash & no-slash are the > same) > 2.) Force a trailing slash (redirect the user's browser to address > ending in a slash) except for certain file types (CSS, JS, etc). > 3.) Strip all trailing slashes (redirect to the address not ending in a > slash)
I favor only 1 and 2. For configuration, I'd recommend an inherited class attribute on Page: Page.trailing_url_slash = true StylesheetPage.trailing_url_slash = false Combined with an attribute on SiteController: SiteController.normalize_urls = true Or something of that nature. -- John Long http://wiseheartdesign.com _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
