Hi,
Can you paste a screenshot of the “server info” tab?
Is it a multisite or single installation?
What WP version are you running?
You have removed all other “speed optimization” related plugins? (you can only use one plugin to achieve the same objective, as once the overlap, they can conflict).
—
a) FVM would never intentionally output src=”//wp-content/...
, only absolute urls such as src=”//yourdomain.com/wp-content/
(that’s why the double slash is enforced). This looks like your site_url()
or home_url()
is not defined, or has a wrong path on the database.
—
b) If some urls are being printed without wp-content/uploads/fvm
on it’s path, those haven’t been processed or are part of the ignore list. Kindly read the FAQ for “Why are some of the CSS and JS files not being merged or why is my layout broken ?” at https://www.ads-software.com/plugins/fast-velocity-minify/#faq to understand why this can happen.
I would say, you or someone edited the theme and didn’t properly enqueue the files using the recommended wordpress method, therefore some paths may be wrong, or some resources might have just been added directly to the header / footer without enqueuing… in which case, those won’t be detected by FVM or other plugins.
https://developer.www.ads-software.com/themes/basics/including-css-javascript/
https://www.wpbeginner.com/wp-tutorials/how-to-properly-add-javascripts-and-styles-in-wordpress/
https://code.tutsplus.com/articles/how-to-include-javascript-and-css-in-your-wordpress-themes-and-plugins–wp-24321
If these look complicating to you, you may need to hire a developer that understands how wordpress works. Adding css and JS files to the header and footer, while it can work, will cause trouble with other plugins in the future that expect things to have been done properly.
You can fix a hole in the ceiling with tape, but when it rains next time, it’s bound to leak.
—
c) Likewise, src=”https://domain.com/wp-includes/js/jquery/jquery.js”
is not being processed by FVM. I would suspect that the file, is not enqueued properly, but rather added to the header / footer directly.
—
d) For the urls that are being outputted like //wp-content/uploads/fvm/cache
, look at your domain.com/wp-admin/options.php file for the home url, and site url (it can be wrong).
You can manually define the correct url, by adding this to your wp-config.php
define('WP_HOME', 'https://yourdomain.com/');
define('WP_SITEURL', 'https://yourdomain.com/');
Purge all caches (FVM, server, some other cache plugin, etc) and you should not see //wp-content/uploads/fvm/cache
anymore, but rather //domain.com/wp-content/uploads/fvm/cache
If anything else, just let me know.