Jump to content

After a prestashop migrate from local to server cant make it work


2107sports
 Share

Recommended Posts

Hello there,

Hope someone can please help me

I have migrated a Prestashop from local tu my hosting, but looks impossible to make it work.

I have followed many online guides to do that, infact all of them shows the same steps, just an example about the last one I tried: https://hostadvice.com/how-to/how-to-migrate-a-prestashop-site-from-local-host-to-live-server/

The website now is showing some contect, but every page is a 404 page without CSS ans images.

 

Here is a capture of the debug result:

spacer.png

Share this post


Link to post
Share on other sites

I thinks i have fount the problem, it looks like the URLs are being write wrong way.

For example: 2107sports.com32-running instead of 2107sports.com/32-running

The "/" is missing, but i dont know how can I solve it

Share this post


Link to post
Share on other sites

1 minute ago, Nishith said:

Hi..

check "ps_shop_url " there is currect domain name you have place ?

Thank you 

 

Hi Nishith, thanks for the answer

 

My ps_shop_url is :domain "2107sports.com" domainssl "2107sports.com". I also tried deleting and regenerating the htaccess but it didnt work

Share this post


Link to post
Share on other sites

Hello,

I have entered your. shop and i've noticed that, you did not remove subfolder name. Follow my steps.

1) Enter the BO, open the page "Traffic&SEO". Scroll down here you will see your domain. in you Base URI field filled "prestashop". Replace it with "/" and save. 

2) Disable Friendly URL

3) Enter folder list of PS, rename ".htaccess" file name

4) Then clear cache of PS from BO.

5) Enable again Friendly URL

6) And browse the shop again.

 

I hope it will be helpful for you. 

Share this post


Link to post
Share on other sites

17 minutes ago, PrestaServicePro said:

Hello,

I have entered your. shop and i've noticed that, you did not remove subfolder name. Follow my steps.

1) Enter the BO, open the page "Traffic&SEO". Scroll down here you will see your domain. in you Base URI field filled "prestashop". Replace it with "/" and save. 

2) Disable Friendly URL

3) Enter folder list of PS, rename ".htaccess" file name

4) Then clear cache of PS from BO.

5) Enable again Friendly URL

6) And browse the shop again.

 

I hope it will be helpful for you. 

Thanks for you answer, I dit all those steps, now it shows a blank page as result,

My "Base URI" field was blank after i followed those steps, so I think we are in a good way, but still doesnt work properly

Share this post


Link to post
Share on other sites

2 minutes ago, PrestaServicePro said:

The Bbase URI must not be blank. Here must be only "/"

Yes, it was blank before, but now with teh steps you told me it is "/", sorry if I didnt explain it well

Share this post


Link to post
Share on other sites

Base URI option is very useful thing. If your domain is www.xyz.com and your project is in root directory then you can add Base URI as only; but if on same domain your project is inside folder named abc in this case you need to add /abc/ as Base URI.

Domain: xyz.com

Project on root folder: Base URI => /
Project inside abc folder on root: Base URL => /abc/

Hope it is clear :)

Share this post


Link to post
Share on other sites

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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More