0
A big problem has arisen with a customer I have, he needs to have two stores (using Open Cart) in the same domain, only both are different products, layout and plug-ins (so I can not make two stores, as Open Cart makes possible). Urls would look like this
www.loja.com.br
www.loja.com.br/other
I need to disable this folder (/another/) in the . HTACCESS from the store that is at the root, because this folder has its own settings and error displays, however it is inheriting everything from . HTACCESS from root store.
Follow the root store . HTACCESS (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]
Could post the content of
.htaccess
from the root store? I believe it is only to make the condition of the Rewrite Engine not capture anything with/outra
, but post there to get an idea.– Thomas
opa, is the default of Open Cart 1.5.x updated the post
– Gabriel Masson
Try adding the following line (before the last one): Rewritecond $1 ! (index.php|other)
– vmartins