Studio1one Posted May 2, 2016 Share Posted May 2, 2016 On two of our stores we have an issue when it comes to the upload images links.We notice this now when we installed SSL, when we upload images thru the tinymce the links become absolute and not relative.Anyone that knows where I need to change to fix this issue?We are using Prestashop 1.6.1.4 and 1.6.1.3, and the themes are LEOtheme. I would be very happy to get some tips or links how to fix this issue. //Patrik Link to comment Share on other sites More sharing options...
vekia Posted May 2, 2016 Share Posted May 2, 2016 hello if links are absolute, you need to re-save them to make it work as non-absolute urls there is no other way because these datas are stored in database Link to comment Share on other sites More sharing options...
Studio1one Posted May 4, 2016 Author Share Posted May 4, 2016 (edited) hello if links are absolute, you need to re-save them to make it work as non-absolute urls there is no other way because these datas are stored in database Hi Vekia, but then I do not understand how the SSL gonna work correctly? Because then I need to change on every single image I have uploaded and even on all product pages. I Upload images thru the tinymce / filemanager, and if that is how prestashop is built, then I think its rather silly because when we install SSL it warns about this. Edited May 4, 2016 by Studio1one (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted May 5, 2016 Share Posted May 5, 2016 Have you try to force SSL for all page in your store after enabling SSL? I think all links will automatically changed to SSL, do there will no warnings. Link to comment Share on other sites More sharing options...
exadra37 Posted May 5, 2016 Share Posted May 5, 2016 @Studio!one is referring to images uploaded using tinymce, therefore they are not covered by enabling and forcing SSL every where. The solution is to edit TinyMce configuration in js/admin/tinymce.inc.js and follow this instructions https://www.tinymce.com/docs/get-started/get-support/ The code should be like: relative_urls : true, convert_urls: true, document_base_url : "https://www.your-domain.com/", 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