title: htaccess redirect for virtuemart
body: <p>I've setup a virtuemart ecommerce.
  All ok with htaccess and redirect, store is in</p>
  
  <pre><code>http://www.domainname.com/it/store/
  </code></pre>
  
  <p>But the "only" problem is it that both url are valid:</p>
  
  <pre><code>http://www.domainname.com/it/store/article.html
  </code></pre>
  
  <p>and (note absence of "store")</p>
  
  <pre><code>http://www.domainname.com/it/article.html
  </code></pre>
  
  <p>creating problem with google and overall that in this mode article.html inherit settings of home page (banners, etc).</p>
  
  <p>So, i would to redirect via htaccess any request sent to an URL without store to URL with /store.</p>
  
  <p>.htaccess is default of Joomla:</p>
  
  <pre><code>##
  # Uncomment following line if your webserver's URL
  # is not directly related to physical file paths.
  # Update Your Joomla! Directory (just / for root).
  ##
  
  # RewriteBase /
  
  ## Begin - Joomla! core SEF Section.
  #
  RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  #
  # If the requested path and file is not /index.php and the request
  # has not already been internally rewritten to the index.php script
  RewriteCond %{REQUEST_URI} !^/index\.php
  # and the request is for something within the component folder,
  # or for the site root, or for an extensionless URL, or the
  # requested URL ends with one of the listed extensions
  RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
  # and the requested path and file doesn't directly match a physical file
  RewriteCond %{REQUEST_FILENAME} !-f
  # and the requested path and file doesn't directly match a physical folder
  RewriteCond %{REQUEST_FILENAME} !-d
  # internally rewrite the request to the index.php script
  RewriteRule .* index.php [L]
  #
  ## End - Joomla! core SEF Section.
  </code></pre>