Doesn't work with root-relative URLs
-
I am trying to use Smushit on a single site in a WP multisite network. The images are all in one media folder, not dated folders, and all URLs ~ which work fine for everything else ~ are all root-relative.
Here’s what I see when I run Smushit…
Processing placeholder… — [original] 640 x 480: ERROR: /wp-content/uploads/placeholder11.jpg must be within the website home URL (https://electionpartner.co.uk) — [thumbnail] 150 x 150: ERROR: /wp-content/uploads/placeholder11-150x150.jpg must be within the website home URL (https://electionpartner.co.uk) — [medium] 300 x 225: ERROR: /wp-content/uploads/placeholder11-300x225.jpg must be within the website home URL (https://electionpartner.co.uk) — [shop_thumbnail] 90 x 90: ERROR: /wp-content/uploads/placeholder11-90x90.jpg must be within the website home URL (https://electionpartner.co.uk) — [shop_catalog] 150 x 150: ERROR: /wp-content/uploads/placeholder11-150x150.jpg must be within the website home URL (https://electionpartner.co.uk) — [shop_single] 300 x 300: ERROR: /wp-content/uploads/placeholder11-300x300.jpg must be within the website home URL (https://electionpartner.co.uk) — [half-width-thumb] 575 x 431: ERROR: /wp-content/uploads/placeholder11-575x431.jpg must be within the website home URL (https://electionpartner.co.uk) — [portfolio-thumb] 600 x 450: ERROR: /wp-content/uploads/placeholder11-600x450.jpg must be within the website home URL (https://electionpartner.co.uk) — [portfolio-thumb-masonry] 600 x 480: ERROR: /wp-content/uploads/placeholder11-600x480.jpg must be within the website home URL (https://electionpartner.co.uk)
Surely it should be able to handle root-relative URLs correctly?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Doesn't work with root-relative URLs’ is closed to new replies.