dhanasekar Posted January 27, 2012 Share Posted January 27, 2012 Hi, I have successfully installed prestashop in localhost and its running just fine. I have a strange problem after i migrated from localhost to my new domain for ex:http://www,abc.com/ind It always gets redirected to localhost as its before if I try from another computer at home the following url: http://192.168.0.195/prestashop/ or http://dyndnsURL.com/prestashop/ I see its doing "connecting localhost..." and replacing the URL with http://localhost/prestashop/ website not working Any ideas? Thanks Link to comment Share on other sites More sharing options...
malakief Posted January 27, 2012 Share Posted January 27, 2012 Hi, In your database, you have to change the CANONICAL_URL, PS_SHOP_DOMAIN, and PS_SHOP_DOMAIN_SSL fields in the PS_CONFIGURATION table. Link to comment Share on other sites More sharing options...
dhanasekar Posted January 27, 2012 Author Share Posted January 27, 2012 hi.. i have one more doubt that , planned to run on my subdomain like www.sbc.com/prestashop.. how can i configure it...even i tried configured in PS_SHOP_DOMAIN, and PS_SHOP_DOMAIN_SSL fields in the PS_CONFIGURATION table....,its not working properly... redcolour quoted text is my subdomain name... pleasehelp me.... Link to comment Share on other sites More sharing options...
dhanasekar Posted January 27, 2012 Author Share Posted January 27, 2012 hi.. i have one more doubt that , planned to run on my subdomain like www.sbc.com/prestashop.. how can i configure it...even i tried configured inPS_SHOP_DOMAIN, and PS_SHOP_DOMAIN_SSL fields in the PS_CONFIGURATION table....,its not working properly... redcolour quoted text is my subdomain name... please help me.... thanks in advance Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 27, 2012 Share Posted January 27, 2012 Hi dhanasekar, To run your site off of the subdomain, you will need to also move all of your PrestaShop files on your FTP from the root to a /prestashop (or whatever you name it) subdirectory. Just create the folder and move your files there, and then be sure that everything in your database is pointed to the right place. You will also need to be sure to change the value of PS_BASE_URI in your config/settings.inc.php file to properly reflect the subdomain. I hope this helps. -Mike Link to comment Share on other sites More sharing options...
dhanasekar Posted January 30, 2012 Author Share Posted January 30, 2012 Hi dhanasekar, To run your site off of the subdomain, you will need to also move all of your PrestaShop files on your FTP from the root to a /prestashop (or whatever you name it) subdirectory. Just create the folder and move your files there, and then be sure that everything in your database is pointed to the right place. You will also need to be sure to change the value of PS_BASE_URI in your config/settings.inc.php file to properly reflect the subdomain. I hope this helps. -Mike yup mike it really helps.... one doubt is that i need to give only subdomain name to our db PS_SHOP_DOMAIN, and PS_SHOP_DOMAIN_SSL (or) we have to include our Domain name also along with that like www.abc.com/prestashop and please do say what should written in PS_BASE_URI whether 'www.abc.com/prestashop' (or) just our sub domain name 'prestashop' is enough.. please give an example... thanks in advance Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 30, 2012 Share Posted January 30, 2012 Hi dhanasekar, Both of those values will need the full URL, www.abc.com/prestashop. I hope this helps. -Mike Link to comment Share on other sites More sharing options...
dhanasekar Posted February 1, 2012 Author Share Posted February 1, 2012 Hi dhanasekar, Both of those values will need the full URL, www.abc.com/prestashop. I hope this helps. -Mike thanks mike....will check it now.... Link to comment Share on other sites More sharing options...
Recommended Posts