Title: Doesn&#039;t remove version from URLs
Last modified: August 22, 2016

---

# Doesn't remove version from URLs

 *  [jorgeorpinel](https://wordpress.org/support/users/jorgeorpinel/)
 * (@jorgeorpinel)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/doesnt-remove-version-from-urls/)
 * There’s an option in the network settings page to “
    Remove the version parameter
   from urls” which I understand should remove ?ver=VERSION from URL query strings.
 * It’s not working.
 * [https://wordpress.org/plugins/secure-wordpress/](https://wordpress.org/plugins/secure-wordpress/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [jorgeorpinel](https://wordpress.org/support/users/jorgeorpinel/)
 * (@jorgeorpinel)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/doesnt-remove-version-from-urls/#post-5870412)
 * p.s. for anyone interested in rolling out your own solution to do just that, 
   simply add this in a plugin or functions.php of your theme:
 *     ```
       function _remove_ver_from_css_and_js( $src ) {
       	if( strpos( $src, 'ver=' ) )
       		$src = remove_query_arg( 'ver', $src );
       	return $src;
       }
       //
       add_filter( 'script_loader_src', '_remove_ver_from_css_and_js', 15, 1 );
       add_filter( 'style_loader_src', '_remove_ver_from_css_and_js', 15, 1 );
       ```
   
 *  [Dave](https://wordpress.org/support/users/5point/)
 * (@5point)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/doesnt-remove-version-from-urls/#post-5870695)
 * Kind of scary the dev never addressed this. And why do you folks have two almost
   identical plugins, other than the slightly different names?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Doesn't remove version from URLs’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/secure-wordpress.svg)
 * [Acunetix Secure WordPress](https://wordpress.org/plugins/secure-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/secure-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/secure-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/secure-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/secure-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/secure-wordpress/reviews/)

## Tags

 * [Query String](https://wordpress.org/support/topic-tag/query-string/)
 * [remove](https://wordpress.org/support/topic-tag/remove/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 2 replies
 * 2 participants
 * Last reply from: [Dave](https://wordpress.org/support/users/5point/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/doesnt-remove-version-from-urls/#post-5870695)
 * Status: not resolved