404 error including js when using CDN… with fix
-
I was getting a 404 error when using w3 total cache w/ a CDN.
This was the simple fix:
--- a/wp-content/plugins/mimetypes-link-icons/mime_type_link_images.php +++ b/wp-content/plugins/mimetypes-link-icons/mime_type_link_images.php @@ -567,7 +567,7 @@ if ( !class_exists( 'mimetypes_link_icons' ) ) { wp_enqueue_script( self::$name, // id - self::$url . '/js/mtli-str-replace' . self::$suffix . '.js', // url + self::$url . 'js/mtli-str-replace' . self::$suffix . '.js', // url array( 'jquery' ), // dependants self::SCRIPTS_VERSION, // version true // load in footer
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘404 error including js when using CDN… with fix’ is closed to new replies.