Jump to content

Changing the prestashop installation from /store to root (public_html)


Recommended Posts

Good afternoon, I asked my provider to move my contents, from /store, to the root. However, I have to modify something in code or in the database and I don't know where to change it. I no longer have access to the backoffice only to cpanel, because everything has already been changed to root. 

Can you help me?

Link to comment
Share on other sites

It has to be there otherwise your shop wouldn't work.
Run this query

SELECT * FROM `ps_configuration` WHERE name LIKE '%domain%'

in phpmyadmin or mysql console and change those values.
Then update the values in the ps_shop_url as well.
 

Link to comment
Share on other sites

Em 2/04/2022 às 8:34 am, Rhobur disse:

Tem que estar lá senão sua loja não funcionaria.
Execute esta consulta

SELECT * FROM `ps_configuration` WHERE name LIKE '%domain%'

em phpmyadmin ou mysql console e alterar esses valores.
Em seguida, atualize os valores no ps_shop_url também.

 

Obrigado, eu consegui, no entanto as imagens que eu tinha na página inicial e as imagens do produto desapareceram, onde posso mudar isso?

Link to comment
Share on other sites

2 hours ago, Catarina123 said:

Obrigado, eu consegui, no entanto as imagens que eu tinha na página inicial e as imagens do produto desapareceram, onde posso mudar isso?

I know it's a forum for prestashop, but if you need to move from a folder to the root, in wordpress, would it be the same way to change the url? in cpanel?

Link to comment
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
×
×
  • Create New...