DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
SES URLs In Fusebox 5.5.1
// Add the following to your Application.cfc in FB 551
// and you'll get Search Engine Safe URLs
// Ex: '/index.cfm?fa=app.main' == '/index.cfm/fa/app.main'
// This is a modification of settings found at http://stackoverflow.com/questions/744181/how-do-i-create-search-engine-safe-urls-in-fusebox-5-1-noxml
<cfcomponent extends="fusebox5.Application" output="false">
<cfscript>
// ... other settings
FUSEBOX_PARAMETERS.fuseactionVariable = "fa"; // or whatever you want to call it.
FUSEBOX_PARAMETERS.myself = "/index.cfm/#FUSEBOX_PARAMETERS.fuseactionVariable#/";
FUSEBOX_PARAMETERS.queryStringStart = "/";
FUSEBOX_PARAMETERS.queryStringSeparator = "/";
FUSEBOX_PARAMETERS.queryStringEqual = "/";
</cfscript>
<!--- other codes --->
</cfcomponent>




