This question already has an answer here:

I have the same problem as you, i am seing my old css file, after editing it, because at the end of the css call appears something like this: "css/main.css?ver=4.2.2. If i take out the part that says "?ver=4.2.2" i could see my real main.css file. Please help, I need someone.

marked as duplicate by fuxia Jun 16 '15 at 11:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • That 4.2.2 part is the WordPress version parameter. – Nilambar Jun 3 '15 at 3:51

You can remove query strings from scripts and style sheets with a function in the theme's functions.php file.

// Remove Query Strings from enqueue scripts
add_filter( 'style_loader_src', 'remove_query_string' ); // CSS files
add_filter( 'script_loader_src', 'remove_query_string' ); // javascripts
function remove_query_string( $url )
    return remove_query_arg( 'ver', $url );

Be sure you have made a child theme so you don't lose changes upon a theme update. See Child Themes « WordPress Codex

Not the answer you're looking for? Browse other questions tagged or ask your own question.