Help With .htaccess Configuration. Problem With Site/cart.

I am having an issue with my store/site. I installed an older version of CS-Cart because I liked the way it looked and ran and was unsure of the newer version. So in my public_html folder, I have the older version of CS-Cart running. I decided to install cs-cart's newest edition and mess around with it, in a subfolder /upgrade/ and once I got the hang of it and customized the settings, I decided I was wanting to go live with the new version. At first, I wanted to delete the old copy and move everything from upgrade to the public_html folder and just try to adjust all settings manually. Then I found out I could just put some code in my .htaccess file to make the main domain actually forward to the subfolder, and there is a piece of code you can add, so it will mask the subfolder so it will not show in the URL and will act like it is actually the public_html folder/main directory. I looked up what code to add and I added it to my .htaccess file in the public_html folder, which was part of the old copy of Cs-Cart. Now it goes to the subfolder, and shows my updated site when going to my domain, but it goes to a 404 page. I tried editing the code and changing stuff around, it is not working for me. I included my .htaccess file below. If someone can help me fix this code so it will work correctly, I would greatly appreciate it. My site is down at the moment and it is actually live so I am losing potential customers/sales. Any help would be a HUGE help to me. The domain is also listed below. I have also attached my .htaccess file in this thread as well, just in case the code below did not paste right.Thanks in advance for any help on this matter.

Domain (Old version of CS-cart):

Subfolder (New Version of CS-cart that I want to use now):


.htaccess file which is in the public_html folder of the old version of CS-cart:



Use PHP 5.3

#AddType application/x-httpd-php53 .php

AddType application/x-httpd-php54 .php

DirectoryIndex index.html index.php

RewriteEngine on

Some hostings require RewriteBase to be uncommented


Your store url is

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

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]

RewriteCond %{HTTP_HOST} ^(www.)?$

RewriteRule ^(.*)$ upgrade/$1 [L]

Google Analytics Integration - Added by cPanel.

AddOutputFilterByType SUBSTITUTE text/html

Substitute “s|()?||i”

END Google Analytics Integration