loginname Posted June 15, 2015 Share Posted June 15, 2015 Was wondering if some of you could point me to the right direction for information. As I want to move my prestashop installation to my local c:\ xampp\ folder. This is a basic prestashop installation with a few test products on it. This prestashop has never been live, hence I want to move it to local server. Just wodner how to do it? I did search for answer before I opened this post, but if it is already answered and I didn't find it, then my bad I didn't see it. Please be easy on me. Link to comment Share on other sites More sharing options...
Vipul Hadiya Posted June 15, 2015 Share Posted June 15, 2015 It is really so simple. Follow these steps: Download your whole Prestashop installation and place it in a directory, suppose C:\xampp\htdocs\presta, Here presta is root directory of your Prestashop installation and htdocs is webserver's root folder for xampp, if you use wamp then it will be www Export complete database of your Prestashop installation and import it in your local server. You can access your local database server from your browser via http://localhost/phpmyadmin Now the most important point is to change value of shop URL form prefix_shop_url table. Whatever it is but now you are on local server so set thse values. For domain => localhost, domain_ssl=.localhost, physical_uri => /presta/ Now all set, you can access your prestashop via http://localhost/presta. If your Prestashop installation had friendly url active then go to your dashboard and once make it enable and disable so your .htaccess file will be regenerated. Link to comment Share on other sites More sharing options...
loginname Posted June 15, 2015 Author Share Posted June 15, 2015 One moment, I try this now. Thank you for you speedy reply Link to comment Share on other sites More sharing options...
loginname Posted June 15, 2015 Author Share Posted June 15, 2015 bit unsure where I can find physical_uri ? is it in database or is it in a .php config file? I think I have set the others, Issue is that when I refrash on localhost it redirect to live server. hence because physical_uri isn't set.... Link to comment Share on other sites More sharing options...
Vipul Hadiya Posted June 15, 2015 Share Posted June 15, 2015 In table, open ps_shop_url table and you will get it. Don't forget to like my answer if you get solution. Link to comment Share on other sites More sharing options...
Vipul Hadiya Posted June 15, 2015 Share Posted June 15, 2015 YOu are redirected to the live server because in ps_shop_url table, there is domain is www.yourdomain.com so it redirects you. Just follow my steps. Link to comment Share on other sites More sharing options...
FerreireX Posted June 27, 2015 Share Posted June 27, 2015 This is the post I'm looking I have a issue here 1- I'm make a full copy on online server 2- import for local server 3- modify the config/settings.inc.php now i can´t access to admin, just show a blank page a long time ago when I'm moving the prestashop server to another i find a great tutorial in docs.prestashop but now i can't find him. I think i need to clean some cache files or folders, but i do not remember what i don't need to remove. Link to comment Share on other sites More sharing options...
Vipul Hadiya Posted June 28, 2015 Share Posted June 28, 2015 This is the post I'm looking I have a issue here 1- I'm make a full copy on online server 2- import for local server 3- modify the config/settings.inc.php now i can´t access to admin, just show a blank page a long time ago when I'm moving the prestashop server to another i find a great tutorial in docs.prestashop but now i can't find him. I think i need to clean some cache files or folders, but i do not remember what i don't need to remove. Have you changed value of domain and physical_uri in ps_shop_url? Link to comment Share on other sites More sharing options...
FerreireX Posted June 29, 2015 Share Posted June 29, 2015 I think i find the problem... I use the Mamp Pro and i have that problem but when i use the Mamp i don't have any problem... Link to comment Share on other sites More sharing options...
Mostrowski Posted December 21, 2022 Share Posted December 21, 2022 On 6/15/2015 at 8:57 PM, Vipul Hadiya said: It is really so simple. Follow these steps: Download your whole Prestashop installation and place it in a directory, suppose C:\xampp\htdocs\presta, Here presta is root directory of your Prestashop installation and htdocs is webserver's root folder for xampp, if you use wamp then it will be www Export complete database of your Prestashop installation and import it in your local server. You can access your local database server from your browser via http://localhost/phpmyadmin Now the most important point is to change value of shop URL form prefix_shop_url table. Whatever it is but now you are on local server so set thse values. For domain => localhost, domain_ssl=.localhost, physical_uri => /presta/ Now all set, you can access your prestashop via http://localhost/presta. If your Prestashop installation had friendly url active then go to your dashboard and once make it enable and disable so your .htaccess file will be regenerated. Hi, I've changed the values you write about, but localhost looks weird. 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