Askomis Posted December 18, 2012 Share Posted December 18, 2012 Hi there, I've been working on my shop and finally finished it. It's directory was www.mysite.pl/shop. Now the thing is I've got a second domain mysite.com, and I want it to be my shop's url. I've changed the domain redirect settings in the domain;s control panel, but when i type in mysite.com i get mysite.pl/shop in the address bar, can I make mysite.com work as a separate site? Link to comment Share on other sites More sharing options...
vekia Posted December 18, 2012 Share Posted December 18, 2012 you must edit settings of your shop in configuration file / database. It depends on prestashop version that you use. if you're using 1.4 it's simple and you can do it in configuration file, if you're using 1.5+ you must also edit configuration in database Link to comment Share on other sites More sharing options...
Askomis Posted December 18, 2012 Author Share Posted December 18, 2012 I've got presta 1.4 and I've changed both PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL in the database to the new domain but it resulted in a completely broken front office. What configuration file do I have to modify then? is it config/config.inc.php? Link to comment Share on other sites More sharing options...
vekia Posted December 18, 2012 Share Posted December 18, 2012 it's probaby missing css files issue, take a look into page source, you can catch what's wrong with urls to css files setup the __PS_BASE_URI__ in settings.inc.php file properly, it must looks like /directory/ if you've got shop in: http://domain.com/directory/'>http://domain.com/directory/ or / if you've got shop in http://domain.com/ Link to comment Share on other sites More sharing options...
Askomis Posted December 18, 2012 Author Share Posted December 18, 2012 I tried changing the entries to "/" instead of default /shop/ but all it does is redirect me to mysite.pl. while i want it to redirect to mysite.com. I'm really lost Link to comment Share on other sites More sharing options...
vekia Posted December 18, 2012 Share Posted December 18, 2012 so you: 1) setup the domain parameters in database to new value (new domain) 2) change the __PS_BASE_URI__ in settings.inc.php file if it doesnt work properly, maybe it's domain issue? how you set it up? it's redirection to old domain? Link to comment Share on other sites More sharing options...
Askomis Posted December 18, 2012 Author Share Posted December 18, 2012 Still no dice, done everything as specified by you (big thanks for help btw), changing database entries now makes the mysite.com return a 404, I also contacted server provider support, techs said everything is set up correctly with the domain. Maybe it's an .htaccess issue? 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