firescorpz Posted March 22, 2010 Share Posted March 22, 2010 Hi,I have previously create a site eg: www.abc.comBut when I come to know prestashop I have created another site known as www.abc.com/prestashopI want to interchange www.abc.com/prestashop -------> www.abc.com, can I do that?I want to transfer the details which I created previously in www.abc.com to www.abc.com/prestashopand details from www.abc.com/prestashop to www.abc.comCan this be done?please advise me, thank you Link to comment Share on other sites More sharing options...
rocky Posted March 22, 2010 Share Posted March 22, 2010 Edit http://www.abc.com/config/settings.inc.php and change line 8 from: define('__PS_BASE_URI__', '/'); to: define('__PS_BASE_URI__', '/prestashop/'); and do the reverse for http://www.abc.com/prestashop/config/settings.inc.php. Once you've done this, create a temporary folder in the root of your server, then move the contents of the prestashop folder to the temporary folder, then move the contents of the root directory to the prestashop folder, then move the contents of the temporary folder to the root directory, then delete the temporary directory. Once you've done this, you'll have swapped the prestashop and root directories and configured both Prestashop installations to look at the new locations.I know this sounds complicated, but it is actually easy. Link to comment Share on other sites More sharing options...
Attila Bogozi Posted April 3, 2010 Share Posted April 3, 2010 Don't forget to reset the permissions for the directories and the files. (chmod 777) Link to comment Share on other sites More sharing options...
sinoland Posted April 30, 2010 Share Posted April 30, 2010 Also if you've enabled 'Friendly URL', you must regenerate the .htaccess file. We have just moved PS from domain.com/prestashop to domain.com/. Link to comment Share on other sites More sharing options...
ata2k6 Posted May 19, 2010 Share Posted May 19, 2010 Hi!I have a problem:After moving my site from www.printercenter.ro/Shop to www.printercenter.ro i done all the needed things, in configuration files too, regenerate htacces, but still doesn't get a friendly URL, only 404 errors. Without friendly url site works ok. but with SEF enabled images are disappearing, products also. Even if i regenerate .htaccess?Did I missed something? Link to comment Share on other sites More sharing options...
OwenS Posted September 14, 2010 Share Posted September 14, 2010 I have the same problem as ata2k6...Anyone a solution????? Link to comment Share on other sites More sharing options...
OwenS Posted October 7, 2010 Share Posted October 7, 2010 I have overwritten the htaccess file again from a fresh installation, now it works. It seems that somehow my htaccess was empty and that was probably the cause of my problem. Link to comment Share on other sites More sharing options...
aliaspt Posted October 8, 2010 Share Posted October 8, 2010 The new htaccess file that I generated is empty. What do I need to do to make it work? Link to comment Share on other sites More sharing options...
dragonjee93 Posted October 9, 2010 Share Posted October 9, 2010 @aliasptJust need to overwritten the htaccess file again during new installation, might in this way it works. This problem appears whne when htacess file empty. try again, thanks Link to comment Share on other sites More sharing options...
aliaspt Posted October 9, 2010 Share Posted October 9, 2010 I added a redirection code to htaccess and it worked. Thank you. Link to comment Share on other sites More sharing options...
Bejo Posted September 17, 2012 Share Posted September 17, 2012 Edit http://www.abc.com/c...ettings.inc.php and change line 8 from: define('__PS_BASE_URI__', '/'); to: define('__PS_BASE_URI__', '/prestashop/'); and do the reverse for http://www.abc.com/p...ttings.inc.php. Once you've done this, create a temporary folder in the root of your server, then move the contents of the prestashop folder to the temporary folder, then move the contents of the root directory to the prestashop folder, then move the contents of the temporary folder to the root directory, then delete the temporary directory. Once you've done this, you'll have swapped the prestashop and root directories and configured both Prestashop installations to look at the new locations. I know this sounds complicated, but it is actually easy. where i can change this in prestashop 1.5? i write url base at seo menu now i can access my website!txh Link to comment Share on other sites More sharing options...
Recommended Posts