• Hi,

    I’m trying to work out how to remove the ?ver=xxx stuff from the end of file.

    Is this something done in the “main” PHP code for WordPress, or is it on a per-plugin basis?

    Its really annoying me, as that seems to be whats stopping my CDN from working right with those files (it never matches them!)

    TIA

    Andy

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter youradds

    (@youradds)

    Ok, now I feel stupid!!!

    Just found this page:

    https://zemalf.com/1443/w3-total-cache/

    The bit in it about “CSS” files made me think – and it looks like that all it was!

    In CDN > Custom file list: , all I had to do was add in the different CSS/JS files/folders I wanna run through the CDN – doh!!!

    For example:

    favicon.ico
    wp-content/gallery/*
    wp-content/plugins/wp-jquery-lightbox/lightbox.min.css

    ..and it now works perfectly, and calls it from the CDN:

    <link
    rel='stylesheet' id='jquery.lightbox.min.css-css'  href='https://webdesign2.ultra-cdn.com/wp-content/plugins/wp-jquery-lightbox/lightbox.min.css' type='text' />

    Man, wish I had just seen that article about a month ago ??

    Thanks for your patience and help – got there in the end <G>

    Cheers

    Andy

    Thread Starter youradds

    (@youradds)

    Nice, its knocked off 0.5 of a second from the overall speed too now ?? (was 1.6/ 1.7 seconds, and its not 1.2 seconds) ….. so definatly worth all the hassle!

    Cheers

    Andy

    I’m not familiar with the cache plugin(don’t need that for working locally), so i’m glad to hear you found a resolution.

    Happy to have helped… ??

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Get rid of ?ver on the end of CSS/JS files?’ is closed to new replies.