sly80 Posted February 16, 2012 Share Posted February 16, 2012 I haven't found the answer to this question elsewhere, so please point me in the right direction if it has been dealt with previously. I need to install Prestashop on the test domain or another domain and then switch to the correct domain when the shop is up and running. Prestashop won't install on the test domain because it cannot find the URL and my host tells me that I cannot import it from another domain. In other words, how can I install and set this up while allowing my customer to continue to use her existing shop? Or can't I? Link to comment Share on other sites More sharing options...
Morbach Posted March 14, 2012 Share Posted March 14, 2012 Just install PrestaShop twice? I dont understand why you cant install PrestaShop. After you installed PrestaShop on test.example.com (just an example) and want do move it then you have to backup files and database and move it to the new server and edit /basepath/config/settings.inc.php define('__PS_BASE_URI__', '/path/to/shop/'); and in the database (if dbprefix is ps) ps_configuration.PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL (should be configuration fields 180 and 181) Link to comment Share on other sites More sharing options...
El Patron Posted March 16, 2012 Share Posted March 16, 2012 to answer this really requires more information about your hosting plan, what version of PrestaShop...etc..but here is one approach, create a subomain, newshop.productionsite.com, develop it and upon cust acceptance install in production domain. not knowing your existing hosting capability or PrestaShop verson we working with I'll assume 1.4, and this is an example, assumption is that you have very little hosting manipulation authority but can a least create a subdomain and a db. -create a subomain called newshop.productionsite.com -export www.productionsite.com mysql to your local machine -ftp (downlaod) www.productionsite.com site root files to your local machine -ftp the www.productionsite.com site root files to the newshop.productionsite.com -create new db for newshop.productionsite.com -mysql import www.productionsite.com site db to newshop.productionsite.com -modify your config/settings.inc.php as follows: define('__PS_BASE_URI__', '/your folder/'); /* or / */ define('_DB_NAME_', 'your database name'); define('_DB_SERVER_', 'your db server name'); define('_DB_USER_', 'your db user name'); -navigate and login to newshop.productionsite.com/(admin name) -go to preferecnes-->seo & urls-->scroll down -change your domain name and domain name ssl to newshop.productionsite.com (if you set up subdomain with 'www', then then prefix with www) -change your robot.txt to User-agent: * Disallow: / -delete the newshop.oldshop.com sitemap.xml develop your site get customer acceptance cutover (does not account for changes/sales/etc made between captures!) -export newshop.productionsite.com mysql to your local machine -ftp (downlaod) newshop.productionsite.com site root files to your local machine -set www.productionsite.com OFFLINE Backup www.productionsite.com -export www.productionsite.com mysql to your local machine -ftp www.productionsite.com root files to your local machine -drop all tables in www.productionsite.com mysql db -delete all files in your production root folder -ftp the newshop.productionsite.com root files to the www.productionsite.com -mysql import newshop.productionsite.com to www.productionsite.com -upload the backed up config/settings.inc.php from the saved www.productionsite.com -navigate and login to www.productionsite.com/(admin name) -go to preferecnes-->seo & urls-->scroll down and change both the domain name and domain name ssl to www.productionsite.com -upload to newshop.productionsite.com the backed up robot.txt from www.productionsite.com -upload to newshop.productionsite.com the backed up sitemap.xml from www.productionsite.com -upload to newshop.productionsite.com the backed up .htaccess from www.productionsite.com hopefully I haven't forgotten any steps, I hope this gives you a clearer undertsanding of approach... 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