Incorrect path change in css files
-
Hello
I have the following setup:Litespeed Server
WP Multisite (subdirectory)
Litespeed Cache
Hide My WP Ghost
Main site: example.com
Additional site: example.com/site2
Custom themes Path: core/views
The problem is that for non-logged in users the css paths change to example.com/site2core/views instead of example.com/site2/core/views
It is not everywhere, but only on part of the site.
For logged in users, css looks like this:background-image: url("../svg/active.svg");
When I go to the main site page ( example.com ) in incognito mode, the css looks like this:background-image: url(https://example.com/site2core/modules/ded47bld73/src/core/public/svg/active.svg)
and should look like this:background-image: url(https://example.com/core/modules/ded47bld73/src/core/public/svg/active.svg)
Also when I go to the secondary site page (example.com/site2) I also get the same link:background-image: url(https://example.com/site2core/modules/ded47bld73/src/core/public/svg/active.svg)
Accordingly I get an error loading active.svg
I don’t know how to fix it anymore, I hope for your help.
Thank you!
- The topic ‘Incorrect path change in css files’ is closed to new replies.