Post by lashman » Fri Feb 03, 2012 10:38 pm

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

Active Member

Posts

Joined
Sun Feb 21, 2010 9:02 pm
Location - North Yorkshire

Post by labeshops » Fri Feb 03, 2012 10:41 pm

Its still in settings n the admin. Under System > Settings

Running Opencart v2.2 with multi-stores from http://www.labeshops.com which has links to all my stores.

Image


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by lashman » Fri Feb 03, 2012 10:56 pm

Thank you,
In Admin/Settings, General there is "Store Name" but no Store Url like in 1.4..9.6 where you could change it.

Active Member

Posts

Joined
Sun Feb 21, 2010 9:02 pm
Location - North Yorkshire

Post by lashman » Fri Feb 03, 2012 11:00 pm

Beg your pardon, I see how it done now.
Thanks

Active Member

Posts

Joined
Sun Feb 21, 2010 9:02 pm
Location - North Yorkshire

Post by NorthEastHosting » Tue Feb 14, 2012 9:14 pm

lashman wrote:Beg your pardon, I see how it done now.
Thanks
Could you let me know where you managed to change the Store URL?
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


Posts

Joined
Mon Jan 03, 2011 8:26 pm

Post by Qphoria » Tue Feb 14, 2012 11:37 pm

your main store is set in the config.php file. You add the www there and it will use it
You only change additional stores from the system/settings area

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by NorthEastHosting » Tue Feb 14, 2012 11:52 pm

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


Posts

Joined
Mon Jan 03, 2011 8:26 pm

Post by uksitebuilder » Wed Feb 15, 2012 12:10 am

you also need to edit admin/config.php

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by NorthEastHosting » Wed Feb 15, 2012 12:19 am

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


Posts

Joined
Mon Jan 03, 2011 8:26 pm
Who is online

Users browsing this forum: Bing [Bot] and 59 guests