01K Posted April 22, 2018 Share Posted April 22, 2018 (edited) Hi there! I've installed and configured Prestashop 1.7.x on my localhost. The old address was simple - localhost/shop/ I have copied all files to a subdomain. Once I tried to access the shop.website.com it was redirecting me to localhost/shop So I've logged-in to admin's area and changed main URL to shop.website.com and the same to SSL and third input box(don't remember the label right now) So now the page is not loading at all and redirecting me to http://shop.website.com/shop.website.com/ Tell me please which config file I should edit and what I should do with SSL? Leaving it blank produces the "localhost" entry... Edited April 22, 2018 by 01K (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted April 23, 2018 Share Posted April 23, 2018 The third input box you should not put the subdomain there. It is for the Base URI, or /shop/ in your example. So on your shop.website.com, if there is additional path, it goes in the third field, otherwise you just put a forward slash So for this URL localhost/shop, you would put localhost in the domain fields and /shop/ in the Base URI For this URL shop.website.com/shop, you would put shop.website.com in the domain fields and /shop/ in the Base URI For this URL shop.website.com, you would put shop.website.com in the domain fields and / in the Base URI 1 Link to comment Share on other sites More sharing options...
01K Posted April 23, 2018 Author Share Posted April 23, 2018 Thanks a lot! That's works! Only having some troubles with SSL. The shop domain and SSL domain must be the same? shop.website.com ? Link to comment Share on other sites More sharing options...
bellini13 Posted April 25, 2018 Share Posted April 25, 2018 you need to have a valid SSL certificate installed on your hosting server that includes your domain name. 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