dazlia Posted September 4, 2013 Share Posted September 4, 2013 (edited) Hi folks,I've got a testsite at the minute and in order to make it live ive just copied everything from my test folder into the root directory public_htmlI'm led to believe, having read other threads on here that im supposed to do the following :- settings.inc.php (public_html/config/settings.inc.php). Change the line: define('__PS_BASE_URI__', '/test/'); into: define('__PS_BASE_URI__', '/'); At this moment in time i haven't edited that php file and when i visit my URL it automatically forwards to the test folder, which im guessing is what you'd expect?The problem being that my config php file contains the following line so im not sure exactly how to edit this?This is what i can see in my php file :- /* Initialize the current Shop */ Context::getContext()->shop = Shop::initialize(); define('_THEME_NAME_', Context::getContext()->shop->getTheme()); define('__PS_BASE_URI__', Context::getContext()->shop->getBaseURI()); any ideas please? thanks guys Edited September 4, 2013 by dazlia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 4, 2013 Share Posted September 4, 2013 you should change everything in back office under preferences > seo & urls tab you've got there place where you can define base uri you can do the same manually in database - search for ps_shop_url table Link to comment Share on other sites More sharing options...
dazlia Posted September 4, 2013 Author Share Posted September 4, 2013 Thanks Vekia,So how do i login to my new LIVE shop? the only login I have is for where i installed it which is in 'shop2' fiolder :-This is so i currently login to my test area using :- http://mydomain.co.uk/shop2/admin-1375139806/ Link to comment Share on other sites More sharing options...
vekia Posted September 4, 2013 Share Posted September 4, 2013 if you moved all files from /shop2/ to root dir (public_html as you mentioned above) you can open back office from this link: http://mydomain.co.uk/admin-1375139806/ Link to comment Share on other sites More sharing options...
dazlia Posted September 4, 2013 Author Share Posted September 4, 2013 I might be missing something here Vekia so forgive me mate. If i login using the URL that you suggested though it contains 'shop2' in the URL so surely I'd be logging into my test folder (shop2) and any changes I make in there wont effect my live site which is obviously outside that folder? Link to comment Share on other sites More sharing options...
dazlia Posted September 4, 2013 Author Share Posted September 4, 2013 it's ok mate, ive sorted it now thanks. I think you must have typed that by mistake I was still uploading site to root so when i triedhttp://threadbound.co.uk/admin-1375139806it didnt work at first and just showed a blank page but now its cool and its workig as far as i can tell for now lolThanks again mate Link to comment Share on other sites More sharing options...
vekia Posted September 4, 2013 Share Posted September 4, 2013 glad to hear that it works problem is solved? Link to comment Share on other sites More sharing options...
dazlia Posted September 4, 2013 Author Share Posted September 4, 2013 it is indeed and ive marked it accordingly Link to comment Share on other sites More sharing options...
dazlia Posted September 4, 2013 Author Share Posted September 4, 2013 Vekia, one more questions mate sorry. I can now login using 2 seperate URLS'http://domain/shop2/admin-1375139806/orhttp://domain.co.uk/admin-1375139806/so i logged into what i thought was my live site using the first link above and changed it from "/shop2/" to "/" and the site now works. HOWEVER, ive noticed then when i look at the back office for my test account its also changed it in there. In other words, anything I do in either back office is reflected in the other back office. Is that supposed to happen? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now