After moving my site from local to a dev domain wp less fails to compile any image paths correctly, e.g:
before migration on local:
background: url(http://localhost/cloud/tfi/wp-content/themes/tfi/less/../images/interface/site-logo.png) no-repeat;
then after migration to demo subdomain:
background: url(http://tfi.dreaminpixels.co.uk/wp-content/themes/tfi/less/) no-repeat;
It replaces every single path with
http://tfi.dreaminpixels.co.uk/wp-content/themes/tfi/less/but without the actual file path, just the domain.
- The topic ‘CSS Paths break after site migration’ is closed to new replies.