

If you wish to move your shop to the root of your website the only two files that you have to change are the config.php files founding the following directories...
In you case: http://www.domain/Shop/config.php
and http://www.domain/Shop/admin/config.php
Simply remove the word shop from the paths.
And move all of the scripts to the root directory keeping the directory structure in place.
Done & sorted.Thanks for your help.I moved my files to root, configured (with Crimson Editor) the config.php in root & admin and uploaded via FTP.Thank youphpuk wrote:It doesn't matter which way round you do it.
Just select all of the files and directories at the same time and move them to the new place.
phpuk wrote:Ok,
If you wish to move your shop to the root of your website the only two files that you have to change are the config.php files founding the following directories...
In you case: http://www.domain/Shop/config.php
and http://www.domain/Shop/admin/config.php
Simply remove the word shop from the paths.
And move all of the scripts to the root directory keeping the directory structure in place.
Hello! I followed your directions (just edit config.php files) but it is not working ... moreover, which are the "scripts" you're mentioning?
Hello! I'm moving my website from a subfolder to the root folder. I found the following info here on the forum and i made that edits but it seems not working properly. Moreover, someone knows where are the "scripts" below it is talking about? Someone can help? Thank you!
If you wish to move your shop to the root of your website the only two files that you have to change are the config.php files founding the following directories...
In you case: http://www.domain/Shop/config.php
and http://www.domain/Shop/admin/config.php
Simply remove the word shop from the paths.
And move all of the scripts to the root directory keeping the directory structure in place.
Thanks for helping!
When the cart is finished and ready to go, I assign honeybeeproducts.com to my server and point it to the folder called honeybeeproducts.com. I would then upload the modified config files and wait for the DNS to resolve.
This is how it would work, correct?
well that would work, but in your case you would also have to change the domain name in those configure files to match the new domain and not just remove the trailing folder.starsunflower wrote:I'm assuming this will work if one installs in a sub-folder of a multi domain account and then points the domain to that server. Say honeybeeproducts.com is on another server, and I want to build a new cart for honeybee products on my hosting account, which allows me to setup myworkdomain.com/honeybeeproducts.com.
When the cart is finished and ready to go, I assign honeybeeproducts.com to my server and point it to the folder called honeybeeproducts.com. I would then upload the modified config files and wait for the DNS to resolve.
This is how it would work, correct?
Ex.
Code: Select all
define('HTTP_SERVER', 'http://www.devdomain.com/newdomain.com/admin/');
define('HTTP_SERVER', 'http://www.newdomain.com/admin/');
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter

I've cleared the cache in my browser.
I altered the config.php and admin/config.php and removed all instances of /shop
however, whilst the store seems to be there, there is no styling at all
you can see it here - http://ghd-spares.com
Help please!
Check your config.php but also you .htaccess as I see that there is ghd-spares.comindex.php used as domain?chriszammett wrote:I have tried to move my shop from mydomainname.com/shop to mydomainname.com
I altered the config.php and admin/config.php and removed all instances of /shop
however, whilst the store seems to be there, there is no styling at all
you can see it here - http://ghd-spares.com
Help please!
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
I changed the site url in the admin which is how I got it to look correct - but as you say it's not picking up product images now and if you click on a product the following error message appears:
Safari can’t open the page “http://www.ghd-spares.comindex.php/?rou ... duct_id=54” because Safari can’t find the server “www.ghd-spares.comindex.php”.
this is my config.php (i've removed DB stuff)
Code: Select all
define('DIR_APPLICATION', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/catalog/');
define('DIR_SYSTEM', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/system/');
define('DIR_DATABASE', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/system/database/');
define('DIR_LANGUAGE', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/catalog/language/');
define('DIR_TEMPLATE', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/catalog/view/theme/');
define('DIR_CONFIG', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/system/config/');
define('DIR_IMAGE', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/image/');
define('DIR_CACHE', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/system/cache/');
define('DIR_DOWNLOAD', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/download/');
define('DIR_LOGS', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/system/logs/');
Reason: Added code tags.
How did you came up with this?define('DIR_APPLICATION', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/catalog/');
define('DIR_SYSTEM', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/system/');
define('DIR_DATABASE', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/system/database/');
define('DIR_LANGUAGE', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/catalog/language/');
define('DIR_TEMPLATE', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/catalog/view/theme/');
define('DIR_CONFIG', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/system/config/');
define('DIR_IMAGE', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/image/');
define('DIR_CACHE', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/system/cache/');
define('DIR_DOWNLOAD', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/download/');
define('DIR_LOGS', '/customers/ghd-spares.com/ghd-spares.com/httpd.www/system/logs/');
Is your admin working?
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Can you post that file?chriszammett wrote:copied it from the config.php file
yes - admin is working
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Users browsing this forum: No registered users and 7 guests