mysql - prestashop move to new server drops back to localhost -
when try move site prestashop site new server , when trying enter it, drops me localhost. else needs done? did these steps:
- upload files new hosting via ftp
- import database using phpmyadmin utility
- on database need open ps_configuration table , edit following lines: ps_shop_domain , ps_shop_domain_ssl , replace current domain www.olddomain.com, new 1 www.newdomain.com
- for last have edit settings.inc.php file inside config folder , change values database name _db_name_, user _db_user_ , password: _db_passwd_ that’s it, need check .htaccess file permissions (777) , should work correctly!
but not work correctly :|
you need change ps_shop url, value of domain www.yournewdomain.com
, change domain ssl new domaine www.yournewdomain.com
. if put site in subdomain write physical uri www.yournewdomain.com/name-of-your-suddomain-prestashop
.
it work perfectly!
Comments
Post a Comment