Ignore Friendly URL for certain folders in .HTACCESS

0

There was a big problem with a client that I have, it needs to have two stores (using Open Cart) in the same domain, but both are different products, layout and plug-ins (so I can not do two stores like the Open Cart enables). The URLs would look like this

  

www.loja.com.br

     

www.loja.com.br / other

I need to disable this folder (/ other /) in .HTACCESS from the root store, because this folder has its own settings and error views, however it is inheriting everything from .HTACCESS from the root store.

Follow the .HTACCESS from the root store (without the comments)

Options +FollowSymlinks
Options -Indexes

<FilesMatch "\.(tpl|ini|log)">
 Order deny,allow
 Deny from all
</FilesMatch>

RewriteEngine On
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
    
asked by anonymous 03.12.2014 / 18:52

0 answers