Assets not loading
-
I’m running wordpress locally and works just fine.
I export my website with :
– “Use relative URLS” and “Check this to enable you to run your site without any internet access, ie a USB drive given to a client. All links will be made relative and no Base Url will be used.” checked.
or:
– just “Check this to enable you to run your site without any internet access, ie a USB drive given to a client. All links will be made relative and no Base Url will be used.” checked.
Output is
– index.html
– contents
– some-page/index.htmlThe index.html pages include the content with a url like this: “contents/cache/autoptimize/js/autoptimize_sdsd.js”, and it will fail because the request goes to “file:///C:/contents/cache/autoptimize/js/autoptimize_sdsd.js”
So is pretty messed up. Also the index.html that is in a inner folder doesn’t even try to go one level up. All index.html files request the assets as they would be at the same folder level.
- The topic ‘Assets not loading’ is closed to new replies.