osipov.me Posted August 3, 2017 Share Posted August 3, 2017 (edited) After migrating my site from localhost to external host, prestashop generates urls to CSS and JS such way http://example.euthemesnewthemeassetscsstheme.css instead of http://example.eu/themes/newtheme/assets/css/theme.css All things i have done: Created new prestashop store in my localhost. Changed Shop domain and SSL domain in prestashop back office. Copied files to ftp. Exported ->imported database. Edited parameters.phpin order to point new database. All other is fine, but urls goes wrong. How can i fix it? Edited August 3, 2017 by osipov.me (see edit history) Link to comment Share on other sites More sharing options...
siledzik Posted May 19, 2018 Share Posted May 19, 2018 Same problem. Anyone know how to fix it? Link to comment Share on other sites More sharing options...
bbnicu Posted January 27, 2020 Share Posted January 27, 2020 Hello. did you solved the problem? and How? Link to comment Share on other sites More sharing options...
MarlexLadag Posted January 27, 2020 Share Posted January 27, 2020 Is this a fresh install prestashop? have you tried to clear cache? Link to comment Share on other sites More sharing options...
bbnicu Posted January 27, 2020 Share Posted January 27, 2020 Yes , fresh install, i cleared the cache, i generated htaccess pro Admin With Friendly URL and Without, same problem Link to comment Share on other sites More sharing options...
MarlexLadag Posted January 27, 2020 Share Posted January 27, 2020 how about? enabling smartcache enabling debug mode Link to comment Share on other sites More sharing options...
bbnicu Posted January 27, 2020 Share Posted January 27, 2020 If i enable debug, i receive Js errors, because script are not loading. Link to comment Share on other sites More sharing options...
fgrs Posted September 9, 2020 Share Posted September 9, 2020 same issue here, can't believe it hasn't been resolved yet! all the js and css paths are stripped from slash / for example <script type="text/javascript" src="http://xxx.commodulesan_brandsliderviewsjs7de2d73e0f14afa857eeaab9d386f021.js" ></script> or <link rel="stylesheet" href="http://xxx.commodulesan_themeviewscsssidebarcart.css" type="text/css" media="screen"> <link rel="stylesheet" href="http://xxx.commodulesan_themeviewscssbuttons_effect.css" type="text/css" media="screen"> It's broken when in Multistore and shop url is set to subdomain xxx.xxx.com but works for main domain xxx.com/shop any idea?? PS 1.7 Link to comment Share on other sites More sharing options...
ItriWeb Posted July 10, 2023 Share Posted July 10, 2023 Same problem here!!! cached JS file doesn't have a slash 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