archproject Posted April 8, 2012 Share Posted April 8, 2012 Hi there, I have been doing testing on my site from http://subdomain.mydomain.com/test01 and I'd like to move the test into http://www.mydomain.com what do i need to do ? Thanks alot guys Archproject Link to comment Share on other sites More sharing options...
Presta FABRIQUE Posted April 8, 2012 Share Posted April 8, 2012 Hi there The process is pretty easy, once you know what and how to do. 1) First of all, move all files to the root, from the subfolder. Best is to use your cPanel (or other platform) filemanager to do this, as FTP might be slow. 2) Enter your database with PhpMyAdmin, and find the table called "ps_configuration" and find entry "PS_SHOP_DOMAIN". Edit and enter "www.mydomain.com" - without quotes and use your domain! 3) On same table you could edit "PS_SHOP_DOMAIN_SSL" to be empty (in case you don't use SSL) 4) with FTP head to root/config and edit file called "settings.inc.php". Find this row: define('__PS_BASE_URI__', '/subdomain/'); (where "subdomain" will be your real subdomain or subfolder) Modify this to have a dash only, like this: define('__PS_BASE_URI__', '/'); Save and upload. You should be done! Good luck! 1 Link to comment Share on other sites More sharing options...
archproject Posted April 8, 2012 Author Share Posted April 8, 2012 Wow, that's sounds easy ... Thank you very much. Another thing, when I do the CMS I saved the pictures on another directory in PS such as http://subdomain.mydomain.com/test01/cms/picture1.jpg Now in the WYSIWYG editor of the cms how can I link to the picture without editing all the cms to http://www.mydomain.com/cms/picture1.jpg This will save me time not to relink every single picture in my cms..... Archproject Link to comment Share on other sites More sharing options...
attosoft Posted January 17, 2013 Share Posted January 17, 2013 hello. i have and new site and i've put it to root. how to move old site, to www.mysite.com/old/ (i've put already, the files in /old/ directory ) i use prestashop 1.5.3. thanks. Link to comment Share on other sites More sharing options...
attosoft Posted January 18, 2013 Share Posted January 18, 2013 hello... anybody here? Link to comment Share on other sites More sharing options...
gnattle Posted October 18, 2013 Share Posted October 18, 2013 (edited) Hi there The process is pretty easy, once you know what and how to do. 1) First of all, move all files to the root, from the subfolder. Best is to use your cPanel (or other platform) filemanager to do this, as FTP might be slow. 2) Enter your database with PhpMyAdmin, and find the table called "ps_configuration" and find entry "PS_SHOP_DOMAIN". Edit and enter "www.mydomain.com" - without quotes and use your domain! 3) On same table you could edit "PS_SHOP_DOMAIN_SSL" to be empty (in case you don't use SSL) 4) with FTP head to root/config and edit file called "settings.inc.php". Find this row: define('__PS_BASE_URI__', '/subdomain/'); (where "subdomain" will be your real subdomain or subfolder) Modify this to have a dash only, like this: define('__PS_BASE_URI__', '/'); Save and upload. You should be done! Good luck! I have done this and it appeared to work however there are load of pages missing (although all files moved over). For example: PAGE NOT AVAILABLE We're sorry, but the Web address you entered is no longer available To find a product, please type its name in the field below Is this because I am on a different version therefore should have taken slightly different steps? Please help as this is no longer a test site - it is my live site! The home page is fine there is just no content! Edited October 18, 2013 by gnattle (see edit history) Link to comment Share on other sites More sharing options...
gnattle Posted October 18, 2013 Share Posted October 18, 2013 I have had a look in the settings.inc.php file you referred to in step 3 and I do not have the PS_BASE_URI - only the below. I changed this informaiton in the advanced parameters as I was prompted to in the back office. I completed the other two steps exactly. <?php define('_DB_SERVER_', 'database.lcn.com'); define('_DB_NAME_', 'annacalvert_co_uk_db_rs'); define('_DB_USER_', '********'); define('_DB_PASSWD_', '888888888'); define('_DB_PREFIX_', 'ps_'); define('_MYSQL_ENGINE_', 'InnoDB'); define('_PS_CACHING_SYSTEM_', 'CacheMemcache'); define('_PS_CACHE_ENABLED_', '0'); define('_MEDIA_SERVER_1_', ''); define('_MEDIA_SERVER_2_', ''); define('_MEDIA_SERVER_3_', ''); define('_COOKIE_KEY_', 'YDwoDXF43F3ILXadGHDbcrBAHF44PapAs7tkVO2GjREnwY8XMSLJRQJ8'); define('_COOKIE_IV_', '4LAtxvXN'); define('_PS_CREATION_DATE_', '2012-10-10'); define('_PS_VERSION_', '1.5.1.0'); define('_RIJNDAEL_KEY_', 'jYNhLsdDZk9kLC32Rb92NKxYYukJN72A'); define('_RIJNDAEL_IV_', 't7qljcVqfMqrNRWNGphsJw=='); Link to comment Share on other sites More sharing options...
gnattle Posted October 18, 2013 Share Posted October 18, 2013 Could it be due to the fact my test site (the subdomain) is still live on the server (although it redirects to the main domain)? I didnt want to delete this until I knew it was working but obviously it doesn't work on that either! Link to comment Share on other sites More sharing options...
gnattle Posted October 18, 2013 Share Posted October 18, 2013 I have changed friendly url from yes to no and it has fixed the problem. Why is this? DO you need friendly url to be yes? 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