Hi,
Can someone help me.
OC 1.5.1.3
I want to change the store url from www.mystore.co.uk/shop/ to www.mystore.co.uk
I know how to change the config.php files but not the store url, in oc 1.4.9.6 you could change it in settings in the backend but can't seem to find it in 1.5.1.3
Thanks,
Mike
Its still in settings n the admin. Under System > Settings
Running Opencart v3.0.3.2 with multi-stores from https://www.labeshops.com which has links to all my stores.
Could you let me know where you managed to change the Store URL?lashman wrote:Beg your pardon, I see how it done now.
Thanks
I amended lines in config.php and admin/config.php as I found instructions on other sites but this did nothing.
For some reason the Store URL in mine is just http://domainname.tld - I want to add the full http://WWW.domainname.tld
Thanks
PJ
Thanks for the reply!
Removing the db details, this is what is currently in the /shop/config.php
(where shop is the install folder and DomainName is my domain (obviously
))
The details shown in admin under system/settings still shows the store URL as
"http://DomainName.co.uk/shop/"
and the site keeps dropping back to that address rather than http://www...
<?php
// HTTP
define('HTTP_SERVER', 'http://www.DomainName.co.uk/shop/');
define('HTTP_CATALOG', 'http://www.DomainName.co.uk/shop/');
define('HTTP_IMAGE', 'http://www.DomainName.co.uk/shop/image/');
define('HTTP_ADMIN', 'http://www.DomainName.co.uk/shop/admin/');
// HTTPS
define('HTTPS_SERVER', HTTP_SERVER);
define('HTTPS_IMAGE', HTTP_IMAGE);
// DIR
define('DIR_CATALOG', '/home/northeas/public_html/shop/catalog/');
define('DIR_APPLICATION', DIR_CATALOG);
define('DIR_SYSTEM', '/home/northeas/public_html/shop/system/');
define('DIR_DATABASE', DIR_SYSTEM.'database/');
define('DIR_LANGUAGE', DIR_APPLICATION.'language/');
define('DIR_TEMPLATE', DIR_APPLICATION.'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM.'config/');
define('DIR_IMAGE', '/home/northeas/public_html/shop/image/');
define('DIR_CACHE', DIR_SYSTEM.'cache/');
define('DIR_DOWNLOAD', '/home/northeas/public_html/shop/download/');
define('DIR_LOGS', DIR_SYSTEM.'logs/');
The opencart install was automatic through installatron
Version 1.5.1.3
Removing the db details, this is what is currently in the /shop/config.php
(where shop is the install folder and DomainName is my domain (obviously

The details shown in admin under system/settings still shows the store URL as
"http://DomainName.co.uk/shop/"
and the site keeps dropping back to that address rather than http://www...
<?php
// HTTP
define('HTTP_SERVER', 'http://www.DomainName.co.uk/shop/');
define('HTTP_CATALOG', 'http://www.DomainName.co.uk/shop/');
define('HTTP_IMAGE', 'http://www.DomainName.co.uk/shop/image/');
define('HTTP_ADMIN', 'http://www.DomainName.co.uk/shop/admin/');
// HTTPS
define('HTTPS_SERVER', HTTP_SERVER);
define('HTTPS_IMAGE', HTTP_IMAGE);
// DIR
define('DIR_CATALOG', '/home/northeas/public_html/shop/catalog/');
define('DIR_APPLICATION', DIR_CATALOG);
define('DIR_SYSTEM', '/home/northeas/public_html/shop/system/');
define('DIR_DATABASE', DIR_SYSTEM.'database/');
define('DIR_LANGUAGE', DIR_APPLICATION.'language/');
define('DIR_TEMPLATE', DIR_APPLICATION.'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM.'config/');
define('DIR_IMAGE', '/home/northeas/public_html/shop/image/');
define('DIR_CACHE', DIR_SYSTEM.'cache/');
define('DIR_DOWNLOAD', '/home/northeas/public_html/shop/download/');
define('DIR_LOGS', DIR_SYSTEM.'logs/');
The opencart install was automatic through installatron
Version 1.5.1.3
Thanks!
Pretty sure I did both but when I double checked, the admin one hadnt saved.
Ive now locked myself out of admin as I changed the username and cant remember what it is but thats another thread!
I think I saw the Store URL change in admin before I got prompted for the login and then booted out so looks like its fixed!
Thanks for the help!!
Peter
Pretty sure I did both but when I double checked, the admin one hadnt saved.
Ive now locked myself out of admin as I changed the username and cant remember what it is but thats another thread!

I think I saw the Store URL change in admin before I got prompted for the login and then booted out so looks like its fixed!
Thanks for the help!!
Peter
Who is online
Users browsing this forum: No registered users and 40 guests