scottpeter123 Posted January 26, 2012 Share Posted January 26, 2012 Hi, I apologise if this is basic but cannot seem to find the answer. I currently have my shop at www.mydomain.com/prestashop, which ultimately goes to www.mydomain.com/prestashop/index.php I simply want to make lose the prestashop part, so the shop is accessible when i go to www.mydomain.com, ultimately going to www.mydomain.com/index.php. I tried simply moving all files out of the prestashop folder via FTP and into the main folder but it gave me an error when trying to log in. Any help would be appreciated. Thanks Scott Link to comment Share on other sites More sharing options...
El Patron Posted January 26, 2012 Share Posted January 26, 2012 Hi Scott, What is the error? Link to comment Share on other sites More sharing options...
scottpeter123 Posted January 26, 2012 Author Share Posted January 26, 2012 It is not an error as such. It is the information box that comes up after a new install of prestashop, saying 'before you can access the back office you need to remove the install folder and change the admin folder name to something different'. I obviously deleted the install folder sometime ago, so there is no install folder in there, i did try changing the admin name again to something different but the above information came up again. Link to comment Share on other sites More sharing options...
El Patron Posted January 26, 2012 Share Posted January 26, 2012 That is very odd about the install folder and admin rename messages. I do not have an answer for that. However I do know that you will need to change your config/settings.inc.php base uri to '/' from '/prestashop/. Then if you can get into your back office you will need to change your site url via preferences-->seo & urls (scroll down to see them). If you can not get into your back office, use phpmyamdin to change mysql table (yourprefix_configuration), look for your domain name an domain name ssl. change them to your new url, i.e. without the prestsahop folder. Link to comment Share on other sites More sharing options...
Rhapsody Posted January 26, 2012 Share Posted January 26, 2012 make sure in the config folder that settings.inc.php has the correct path for the shop. This is no longer the valid path; define('__PS_BASE_URI__', '/prestashop/'); and becomes define('__PS_BASE_URI__', '/'); Link to comment Share on other sites More sharing options...
scottpeter123 Posted January 26, 2012 Author Share Posted January 26, 2012 Hi, Thanks for your help, yes it was simply a case of changing the settings config file. Also regenerating the htaccess file. 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