Ultimate 3.0 .htaccess help (examples?)

I'm having issues with configuring htaccess files?

Here is my prefered usage:

store.mydomain.com ← main store (working correctly)

store.mydomain.com/substore ← aditional store in subdirectory

My .htaccess in the main store is:


Options +FollowSymLinks

#Fix Rewrite

Options -Multiviews

RewriteEngine on

Pleas note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.

Some hostings require RewriteBase to be uncommented


Your store url is http://www.yourcompany.com/store/cart

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /cscart

RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]


Should I add something here for substore, and also change/add something in /substore .htaccess file?

[quote name='Triplets' timestamp='1364522142' post='158914']

[url=“CS-Cart Documentation — CS-Cart 4.15.x documentation”]CS-Cart Documentation — CS-Cart 4.15.x documentation


I've followed that exactly. First, I created the sub-domain in hosting pointing to my CS Cart directory. Then, I installed CS Cart via the sub-domain. The main store now shows up on sub-domain. Then, via the Main Store Admin, I created a new storefront on a directory in the sub-domain, Then, in my hosting, I created the new directory under the CS Cart directory. I then created an ,htaccess file, with the contents:


RewriteEngine on

RewriteRule ^(.*)$ …/$1 [L,QSA,E=DOCUMENT_ROOT:/home/content//Store2]


Now, when I go to sub.domain.com, I get the main store.

When I go to sub.domain.com/Store2, the page redirects to sub.domain.com and shows the main page.