Jump to content

How to move Prestashop website from one directory on the domain to another?


yarashi

Recommended Posts

Hi All

 

I have installed prestashop on example.com/beta and I have customized the site completely. Now I want to move the site to example.com and take it live. Can anyone help me on how to do this with the detailed steps to be followed?

I have two important questions to follow:

1. Is the process moving website from one directory to another theme specific i.e., will some themes not allow us to move our website completely from one directory to another?

2. Will the URLs of inner product pages, internal links in the navigation all change automatically or do we need to do that manually.

 

Thanks in advance :)

  • Like 2
Link to comment
Share on other sites

you have to move contents of your prestashop directory to root dir of your store. Then go to the preferences > seo & urls tab in your back office and change the base uri param

 

save changes

 

refresh your website

 

if you will have issues, regenerate the htaccess file

  • Like 2
Link to comment
Share on other sites

hello

 

have you regenerated the htaccess file after change the base_uri field? sometimes its necessary. Yes, you have to use the same procedure while you moving shop from domain.com to domain.com/shop

 

additional question:

what kind of base uri you use? can you paste the value here?

im asking because you have to use ita with "/" backslash

Link to comment
Share on other sites

  • 6 months later...

Hi Vekia...

 

I successfully shifted PrestaShop from my root to the subdomain shop.iamway.in and it's working perfectly.

 

However, when I add a product to the cart, though it gets added, when I click on the Checkout, it says the cart is empty'.

 

Can you pls help?

 

Thanks.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

your message is ... empty? can you write it once again, please?

 

I'm sorry, I'm just now seeing this, I probably accidentally quoted.

 

Anyway, thanks to you guys on this forum, I successfully cloned my shop the other day. It was a big step for me, since I'm a newbie in this stuff.

 

Thanks guys ;)

Link to comment
Share on other sites

  • 2 months later...

At 1.5.6.0 I actually had to do the following :

 

1) Disable cache

2) Move files (after that admin panel doesn't work anymore)

3) Use phpMyAdmin to edit table ps_shop_url. Edit the field 'physical_uri' to reflect the changed location of your shop

4) Go to the new URL backoffice

5) Regenerate robots.txt

6) Regenerate .htaccess 

7) Enable cache

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

  • 4 months later...

At 1.5.6.0 I actually had to do the following :

 

1) Disable cache

2) Move files (after that admin panel doesn't work anymore)

3) Use phpMyAdmin to edit table ps_shop_url. Edit the field 'physical_uri' to reflect the changed location of your shop

4) Go to the new URL backoffice

5) Regenerate robots.txt

6) Regenerate .htaccess 

7) Enable cache

 

your a lifesaver thanks.  I was looking for the table value when i ran accross this... thanks  for posting the list.

Link to comment
Share on other sites

you have to move contents of your prestashop directory to root dir of your store. Then go to the preferences > seo & urls tab in your back office and change the base uri param

 

save changes

 

refresh your website

 

if you will have issues, regenerate the htaccess file

 

Thanks! 

Link to comment
Share on other sites

  • 2 weeks later...

@Vekia, @Centio, @durangodave,

 

We moved our shop successfully from test URL to live Domain. All fine except:-

 

(1) Slideshow/slider has moved from Left to Center. As a result, 2-Banners that existed on its Right-side vanished.

 

(2) Can't Hook any images to Top/Home/Left/Right/Footer.. Always gives error in uploading image...

 

Please Help

 

Thanks

Link to comment
Share on other sites

  • 1 year later...

how ever i did have one question, is it ok to leave the domain physical set to /  since i am in root now or should i just leave it blank for 1.6, it seems to work with the /

 

 

 

HELP! It didn't work for me either! How did you solve this? I can't login into my back office now or the front office.. (but I can see the login page).

 

This is what I did:

1) Disable cache

2) Move files (after that admin panel doesn't work anymore)

3) Use phpMyAdmin to edit table ps_shop_url. Edit the field 'physical_uri' to reflect the changed location of your shop

4) Go to the new URL back office -> UNNABLE TO LOGIN

 

Please help!

 

Thanks

Edited by carolinalour (see edit history)
Link to comment
Share on other sites

  • 3 years later...

Steps to perform for moving  Prestashop website from one directory on the domain to another are :- 

1) Disable  cache 

2) Move files (after that admin panel doesn't work anymore)

3) Use phpMyAdmin to edit table ps_shop_url. Edit the field 'physical_uri' to reflect the changed location of your shop

4) Go to the new URL backoffice

5) Regenerate robots.txt

6) Regenerate .htaccess 

7) Enable cache

 

Link to comment
Share on other sites

  • 1 year later...
  • 3 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...