Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Part 1. Friendly URL String

This is done by having including the .htaccess file following in your webroot apache virtual or conf (Apache Only):

Code Block

<IfModule mod_rewrite.c>
##### APACHE VERSION
RewriteEngine On
RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\ \(\)\^_`~]*)$ /index.cfm?furl=/$1 [L,PT,QSA]
</IfModule>

For IIS you will need to install an ISAPI Rewrite dll and use the following redirect

Code Block
 ##### IIS VERSION
#RewriteCond %{QUERY_STRING} ^(.*)$
#RewriteRule ^(.*)$ /index.cfm?furl=$1&%1
Info

This essentially redirects to the index.cfm any url without a "." in it (ie, index.cfm, main.css, fotm.js).

For Example

...