Jump to content

Changing Domain Names


Recommended Posts

I have almost completed my furniture website, but realise I should have chosen a better domain name. I am about to buy the new name and will need to transfer everything I have done in Prestashop to the new domain.

 

For example, old domain. www.myfunituresite.co.uk

 

New domain.. www.furnitureforsale.co.uk

 

When I buy the new domain, what steps do I need to do to ensure everything transfers/works ok without any problems?

 

Many Thanks

Andy

Link to comment
Share on other sites

Unfortunately PS is not very well designed for portability, they embed url's in the db...arg!...but not near as bad as wordpress.

 

Changed the following fields in mysql db table yourprefix_configuration:

PS_SHOP_DOMAIN (conical website name) I.e. no www.

PS_SHOP_DOMAIN_SSL (conical website name) I.e. no www.

 

ln root/config check your settings.inc.php,

· define('__PS_BASE_URI__', '/'); This shows the PS installed in root, change to the folder you are running your PS if not root.

Link to comment
Share on other sites

Hi!

 

What you do is following.

1. Download a FTP and Mysql backup of your old shop

2. Create a new database for the new domain

3. Migrate the database to the new Mysql

4. Upload the ftp files

5. Edit the file settings.inc.php in folder /config

 

Now you should be able to log in to your new domain back-office

 

6. Change in your prestashop: preferences-->seo & url's --> change "Shop domain name"

 

Orelse you can ask your hostingprovider for help, many of them do this for free

 

I think this it.. hope i didn't forgot something

Link to comment
Share on other sites

Oh, that sounds like hard work for me, I have very little experience with this. I may have to ask my host for help.

 

How do I download a mysql backup of my site?

 

To backup the ftp, can I just drag and drop the top level folder to my desktop?

 

Thank you for your replies.

Andy

Link to comment
Share on other sites

I don't understand why you would need backup your db nor ftp other than as a backup measure. Just point your new url at the folder containing your ps site, make the changes I suggested. Do you have access to your mysql database via phpmyadmin?

 

I probably do have access, but I have no idea what I;m doing with this sort of thing.

 

If I do it, the whole of the internet will probably get deleted. :rolleyes:

Link to comment
Share on other sites

 

I probably do have access, but I have no idea what I;m doing with this sort of thing.

 

If I do it, the whole of the internet will probably get deleted. :rolleyes:

 

Well...the way PS works, if you want to accomplish this sort of task then you are going to need some basic tools/knowledge. one is ftp, so that you can download say the config/settings.inc.php , modify it and then re-upload it. The other is PHPMYADMIN to mange your database. It's a shame that PS embeds url's in the db...hopefully their next release will fix it but until then we have to slog it out. Off to back up my server before you delete the internet.

Link to comment
Share on other sites

×
×
  • Create New...