Agile Modules blog is a place to announce and discuss about agile modules provided Addons-Modules.com - a developer of modules and addons for PrestaShop shopping cart systems.
Our market place solution - Agile Multiple Sellers/Vendors Module - and its accessory modules are quite simply the best solution to build marketplace based on PrestaShop. These modules have helped many of our clients realize their dream of starting, managing, and generating profits from their own online marketplace.

Saturday, April 2, 2011

Most PrestaShop owners or potential owners do not realize a small change in PrestaShop 1.4. The domain name or the hostnbame now is saved in database ps_configuration table.

So if you are going move you store domain, please be caution of this changes.In following cases, you will need to manually change the data saved in ps_configuration table.

1. If you setup your store locally, then move to real hosting site by backup and restore method.2. If you are going to move your store domain from one to another in the same hosting server, but keep the database not changed.3. if you are going to move your store to complete different server or hosting companay.

If you do not change domain name, when you access your new domain of your website, it will always be redirect to old domain website.

Pleaase following this to change your domain name

1. Use database admin tool like PhpMyAdmin (from your site control panel)2. Locate table ps_configuration3. Look for records with following name (by default they ID is 155/156)

* PS_SHOP_DOMAIN* PS_SHOP_DOMAIN_SSL

4. Change the domain name to your new domain.Please note: domain means domain name only, should not include the path.for example, if your store URL is http://abcde.com/shop/, then only input "abcde.com"

the subfolder should be defined in file /config/setting.inc.php of you store.

15 comments:

Great tip. Unfortunately I found it after solving my problem. I changed my domain and pointed it to the same server as before, but it kept redirecting to the old one. I found a solution without changing the setting in the db. You can still access the backoffice by going to yourNewDomain.com/yourBackofficeDirectory and change the setting in SEO and URLs in prefferences.

I use multiple domains for various countries. Ideal for me would be if I could load the site with a different default language and currency based on the domain. Now it keeps redirecting from .xx to .xy

How to live prestashop v1.3.4.0. I have configured settings.inc.php according to my database in mysql server. I serched in PS_SHOP_DOMAIN & ssl but there is not found.When i browse my site there is 500 (Internal Server) Error coming. Pls. help me how i remove this error from my site & how can i live my site. u can mail me- myeazylife2011@gmail.com