hay706 Posted March 15, 2017 Share Posted March 15, 2017 Hi, I need some help on copying our website on a new domain. Things done so far: New sql and database. Imported old database into new one. Update your database Log into cPanel, then go to "PHPMyAdmin" and log into your PrestaShop database. Go to the table "ps_configuration" and locate the records for PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL. Change these to the new domain name. Check the configuration table for any other entries that contain the old domain name and change accordingly. Updating your config settings Via FTP or the file manager in cPanel, modify the PHP file /config/settings.inc.php. Look for the entry for PS_BASE_URI__ and modify as necessary. For a shop located in the root, it should read: // <![CDATA[ define('__PS_BASE_URI__', '/'); // Delete (or rename) the .htaccess file on your site. However whenever loading the new domain, it just redirects back to the old domain. Link to comment Share on other sites More sharing options...
rocky Posted March 16, 2017 Share Posted March 16, 2017 Edit the ps_shop_url table in your database using phpMyAdmin and update the domain and domain_ssl columns. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now