extra slash when linking to css file
-
A client came to me saying their SEO score is at 99. The one thing preventing them from reaching a perfect 100 is a double slash created by Safe SVG.
This is the code… in includes/blocks.php, line 47 contains:
SAFE_SVG_PLUGIN_URL . '/dist/safe-svg-block-frontend.css'
and prints out: https://www.urgentpetdoc.com/wp-content/plugins/safe-svg//dist/safe-svg-block-frontend.css?ver=2.1.0 for the CSS
whereas line 56 contains:
SAFE_SVG_PLUGIN_URL 'dist/safe-svg-block-frontend.js'
and prints out: https://www.urgentpetdoc.com/wp-content/plugins/safe-svg/dist/safe-svg-block-frontend.js?ver=556b801b5c62d7bda047 for the JS.
I know I could fix it in the code, but I know once it gets updated, it’ll get overwritten and I’ll need to fix again.
So, can we get that little typo fixed?
The page I need help with: [log in to see the link]
- The topic ‘extra slash when linking to css file’ is closed to new replies.