Test or Development site


I would like to create a test site. I created a path under the root folder (/public_html/dev). I copied all files to the dev folder and changed all path accordingly. But that does not work. I think I missed some path constants and this is a stupid idea.

Is there any smarter idea to create a test site?


Did you update the local.config.php?

Did you update your .htaccess?

Base /dev

Also, create a subdomain (dev.lekristine.com) so it doesn’t interfere with live site

I can’t see local.config.php, but config.local.php. Then Yes, I did.

.htaccess with Base /dev? Would you please explain more about the location and how to change it?



I am sorry, but how to create the subdomain? What is difference between your subdomain and my subfolder?


open your .htaccess file

and you will see BASE.

```php DirectoryIndex index.html index.php

RewriteEngine on

Some hostings require RewriteBase to be uncommented


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

So “RewriteBase” should be:

RewriteBase /store/cart

[COLOR=“Blue”]RewriteBase /dev[/COLOR]

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 %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

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


If you have CPanel, you can go into “Subdomains” and create it. Doing this will keep configurations separate between sites.

Thank you, Tony and Tool.

I found the .htaccess file in the cs-cart zip file, but I could not find it in the /public_html/ folder. I made all files shown, but still I cannot see it. What am I missing?


Apparently the .htaccess file. :smiley:

Create it if it’s missing.