I am working on drupal 7 site which needs to have a trailing slash at the end of urls for the taxonomy tags pages but not for the node pages which has the extention '.htm' .
I have tried this by editing .htaccess file of drupal , I added following code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} !=/favicon.ico
#RewriteRule ^ index.php [L]
RewriteCond %{REQUEST_URI} !*.htm
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://domain.com/$1/ [L,R=301]
But this is not working for me. Can anybody suggest me how to get this done.
Note: I am working on light httpd server http://www.lighttpd.net/
Thanks in advance.