title: htaccess trailing slash redirect with Kirby
body: <p>Is it possible to redirect a url without trailing slash to the URLs with trailing slash in <a href="http://getkirby.com/" rel="nofollow">Kirby CMS</a>? How?</p>
  
  <p><strong>From</strong></p>
  
  <p><a href="http://www.test.com/page" rel="nofollow">http://www.test.com/page</a></p>
  
  <p><strong>To</strong></p>
  
  <p><a href="http://www.test.com/page/" rel="nofollow">http://www.test.com/page/</a></p>
  
  <p><strong>htaccess file</strong></p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  DirectorySlash On
  RewriteEngine on
  RewriteBase /test/kirby/
  RewriteRule ^content/(.*)\.(txt|md|mdown)$ error [R=301,L]
  RewriteRule ^site/(.*) error [R=301,L]
  RewriteRule ^kirby/(.*) error [R=301,L]
  RewriteRule ^robots.txt robots.txt [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^panel/(.*) panel/index.php [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*) index.php [L]
  &lt;/IfModule&gt;
  </code></pre>