Jump to content

Database: Chanding PrestaShop admin URL to avoid redirections


Recommended Posts

I have a question about what is needed to change PrestaShop (PrestaShop 1.7) admin from a URL to another.

I had a PrestaShop ecommerce installed in one site domain1.com/shop. I migrated to domain2.com/shop. I managed to change the database tables:

- PS_SHOP_URL

- PS_SHOP_DOMAIN

- PS_SHOP_DOMAIN_SSL

And remove the cache

- /var/app/cache

 

This way, I can see the shop in the new domain2.com/shop URL, otherwise, it was redirecting to the old, unavailable domain1.com/shop. The shop redirection is OK this way.

 

My question is for admin redirection: What else do I need to do, since Admini is still redirecting to my old domain1.com/admin URL, instead of going to domain2.com/admin? 

Please, be aware I cannot access to the old domain1.com/admin, since this URL is not accessible any more.

Thank you.

 

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

It is working know. I think I have some clues:

1) when changing the domain, the propagation of the changes took some time.

2) the admin Url changed as well at the moment of the migration (done with Installarron)

3) browser of the cache.

Not sure at what percentage each of the above reasons impacted, but after a couple of days, everything was fine following the steps of the open topic.

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...