Moving Cs-Cart Installation To Root Directory

Hello,

I have moved my cs-cart installation from the subfolder to te root directory following this steps:

1. I have changed my store url to administration panel.

2. I have moved the cs-cart files from the subfolder to the root directory

3. I have changed the config.local.php replacing with the new path.

and saved, i cleared the cache but now i can't access my site from the admin panel when i go to domain.com/admin.php i get the store closed message, can anyone tell me if i have made something wrong or do I need to do any other changes??

Thanks in advance!

Seems like youve done the right things,

are you sure you have chnaged the url in admin>stores

And does your rewritebase in .htaccess just say / and not /subdirectory

Does right-click of the store-closed page and then 'inspect' show any comments that are error messages? My guess is that you have an SSL issue given that the admin url should not go to a storefront and many times an incorrect ssl certificate (not for the intended site) will simply go to the index.php file instead.

Try to remove the var/cache directory manually

Try to remove the var/cache directory manually

I Tried to remove the cache manually and now its working :) thank you

Hello,

Now that i moved succesfully my installation from subdirectory to root i am having troubles with some pages that i created before and i can't find to change the url because the old url is stored and when i open the page it gives me a 404 error, can you suggest what can i do??

thanks in advance

What kind of URLs do you mean?

If these are values stored in the DB (links in descriptions, etc.) hen you'd have to do a search of all tables in your DB for the domain you want to change and then go to each "hit" and change it to the correct values.

If you know the old->new mapping, you can use redirects in your .htaccess file.

Hello,

Now that i moved succesfully my installation from subdirectory to root i am having troubles with some pages that i created before and i can't find to change the url because the old url is stored and when i open the page it gives me a 404 error, can you suggest what can i do??

thanks in advance

DO you have examples of urls