Jump to content

Moving site to a new Domain


Recommended Posts

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

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