title: .htaccess causing redirect loop
body: <p>I have a URL on my site that works without a <code>/</code> but when I add a <code>/</code> it says there's a redirect loop... I'm struggling to see the problem here....</p>
  
  <pre><code>Options -indexes
  RewriteEngine On
  #
  #
  #php_value output_handler ob_gzhandler
  php_value output_handler none
  php_flag register_globals off
  php_flag safe_mode off
  
  ErrorDocument 404 /404
  #
  RewriteCond %{SERVER_PORT} !^443$
  RewriteRule ^(.*)$ https://www.domain.com/$1 [L,R=301]
  #
  RewriteCond %{HTTP_HOST} !^www.domain.com$
  RewriteRule ^(.*)$ https://www.domain.com/$1 [R=301,L]
  
  RewriteRule ^battery/([^/]+)$ /browser/product?sku=BATTERY+$1&amp;type=battery
  RewriteRule ^vehicles/([^/]+)/([^/]+)/([^/]+)/product([0-9]+)$ /browser/index.php?make=$1&amp;model=$2&amp;id=$3&amp;%{QUERY_STRING} [L,NC]
  
  RewriteRule ^vehicles/([^/]+)/([^/]+)/([^/]+)/([0-9]+)$ /browser/product.php?make=$1&amp;model=$2&amp;year=$3&amp;id=$4&amp;%{QUERY_STRING} [L,NC]
  
  RewriteRule ^vehicles/([^/]+)/([^/]+)/([^/]+)$ /store/product/list.php?make=$1&amp;model=$2&amp;year=$3&amp;%{QUERY_STRING} [L,NC]
  RewriteRule ^vehicles/([^/]+)/([^/]+)$ /vehicle/make/model/year/list.php?make=$1&amp;model=$2&amp;%{QUERY_STRING} [L,NC]
  RewriteRule ^vehicles/([^/]+)$ /vehicle/make/model/list.php?make=$1&amp;%{QUERY_STRING} [L,NC]
  RewriteRule ^vehicles/$ /vehicle/make/list.php{QUERY_STRING} [L,NC]
  
  RewriteRule ^keyfinder /browser/product?id=1001552 [L,NC]
  </code></pre>