Query Strings Remover: WordPress Plugin

— Published on: September 5th, 2014

Query Strings Remover is a WordPress Plugin that removes query strings from the website’s static resources like CSS and JavaScript files. If you are planning to make your WordPress site completely static for visitors removing query strings can be beneficial.

It can improve your cache performance (if your contents are not going to change frequently).

Query Strings Remover
Query Strings Remover

Just download from below link and upload to your WordPress site using Upload Plugin option.

Download » Query Strings Remover

After installing “Query Strings Remover”, activate it. Do empty you cached resources in order to see the magic of this plugin. Just install and forget everything, as no configuration needed.

This plugin only removes the query strings from local resources, which is hosted on your server. It can not remove any 3rd party scripts as it is not possible to control other content.

Query Strings Remover does not use even 0.1% of your server resources, so you do not have to worry about adding this plugin on your blog or website.

How to Install Query Strings Remover from FTP?

  • Extract the zip file locally. You’ll get a query-strings-remover folder.
  • Upload that “query-strings-remover” folder to the “/wp-content/plugins/” directory.
  • Go to the WordPress dashboard.
  • Activate the plugin through the “Plugins” menu in WordPress.
  • You are done, enjoy.

If you face any kind of issue with this plugin, please raise your comments below in the comment section. Your comments and feedback are highly appreciated.

Published in Science and Technology

About AtulHost

Hi, I'm Atul Kumar Pandey; also known as AtulHost on the web, a blogger by profession with an objective of sharing fresh and real contents in the business and technical topics; from contents to useful resources it's all here.

31 responses to “Query Strings Remover: WordPress Plugin”

  1. Anchit Shethia says:

    Let me check the magic on my blog :) Thank you.

    • AtulHost says:

      I highly suggest mate use this because it is very simple to use. I made it very easy that you have to just install and activate the plugin; after that no configurations needed.

  2. Rakesh Kumar says:

    A must have plugin for all those who does not know how to program but want to improve their performance.

  3. Jack Fitterer says:

    Hello Atul,
    I’ve activated the plug in, emptied the caches and retested the speed, but I am still only receiving a grade of 35 on “Remove query strings from static resources” and the overall grade only increased one point. Any suggestions?

    • AtulHost says:

      Hi Jack,

      I can see that you are using JetPack plugin which creates so many links from external domains like i0.wp.com/image.jpg and this plugin only help you to remove query strings from the links hosted by you only. The best thing you can try is to disable most of the external links which are not required. As per my knowledge you have enabled JetPack Photon module which is generating more number of query strings.

  4. Jessica Lacy says:


    This is a great addition to this fantastic “WordPress”! I live in a predominately video city and this will be very beneficial for my clients to use. Great update!


  5. Craig says:

    I use your plugin with positive results. Thanks. My question: should I be concerned that you have not updated the plugin for WP4.2 or WP4.3?

  6. David says:


    I installed and cleared my cache (using W3 Total Cache), but I am not seeing any affect. I looked at the source and still see the query strings. Any ideas? The site is http://www.justplayinghouse.com

    Thanks for any insight.

  7. Harsha Jayamanne says:

    Hi my site is
    I had your plugin installed. But it has stopped my child theme working properly. If I deactivate the plugin the child theme accept new css changes but breaks the site by removing old css.I dont mind the plugin as long as the child css is in play. Please advise

    • AtulHost says:

      Hello Harsha J. as you are using child theme please import complete functions.php too because our plugin uses the functions based on functions.php it will simply resolve your issue for sure.

      • Harsha Jayamanne says:

        I copied the functions.php file from parent to child in the c panel. But it gives a white page with a warning saying

        Warning: require_once(/home/——/public_html/wp-content/themes/wordx_child/theme-options.php): failed to open stream: No such file or directory in /home/——/public_html/wp-content/themes/wordx_child/functions.php on line 7

        Fatal error: require_once(): Failed opening required ‘/home/——/public_html/wp-content/themes/wordx_child/theme-options.php’ (include_path=’.:/usr/local/php56/pear’) in /home/——/public_html/wp-content/themes/wordx_child/functions.php on line 7

        What am I doing wrong?. Sorry for your trouble

        • AtulHost says:

          Just revert this step what you have did now. I checked your site using inspect element. I see no query strings which simply means plugin is working. The reason behind the theme get breaks is because of minification or above the fold optimization things break your site.

          One small suggestion. Never show this error line in public without removing your cPanel’s username (like abcd) which looks like /home/abcd/public_html/ because you are revealing the username in public. I have dashed the username in your comment.

          • Harsha Jayamanne says:

            Thanks Atul for correcting my silly mistakes on the post.I am happy with the site as it is with your plugin active. Only problem with that is it completely ignore the child css sheet. That is the problem. As soon as the plugin is deactivated child sheet works perfect. That is what I can’t understand

          • AtulHost says:

            Great buddy. I will suggest to view your themes documentation if you want to add stylesheet to child theme. As far as you are happy now I hope nothing more is required.

  8. Michael Sheridan says:

    Hi Atul,

    My site is http://www.mavencomputers.com.au

    I have installed Query Strings Remover and am also using Puzzler for css/js aggregation, and a content delivery network. This combination has my site very fast, and most query strings gone however, the aggregated style sheets still have query strings. This has the effect of making the main stylesheets load last, so I am keen to fix it. Do you have any advice?

    This is my GTMetrix score 97% and 91%, so I am not complaining. :)


    • AtulHost says:

      Hello Michael Sheridan,

      Since you have our Query Strings Remover plugin, you may see that scripts mostly css and javascripts having query strings at the end gone, but when you have scripts which are loading from other that your domain, if they are using query strings they would still present. It is not possible to modify the data which is coming from others but we can have complete control over what we have.

      Apart from this you can limit the numbers of HTTP Request made via combining css and javascripts; as I see you are using CloudFlare so no need for this here.

      Still having a good website design may have some negative scores in speed factors; because we can not break site’s functionality for few score, and thus we should focus on our side that our main files should loads fast. Use of ads, our google analytics cookie, sidebar widgets like facebook and twitter significantly kills the speed ranks. So there is hardly any need of improvements at your end.

  9. Jordan says:

    Hello, thanks for this plugin. I’m wondering does it encode the query string parameters into the url instead or does it just remove them?

  10. Jenifer @ Bharat Travel says:

    I had your plugin installed. But it has stopped my child theme working properly. If I deactivate the plugin the child theme accept new css changes but breaks the site by removing old css.I dont mind the plugin as long as the child css is in play. Please advise

    • AtulHost says:

      Hi Jenifer,

      I can see something is going wrong, just do this step…

      1. Import function.php in your child theme (if not there).
      2. Paste following code to function.php file at the end.

      function qsr_remove_script_version( $src ){
      $parts = explode( '?ver', $src );
      return $parts[0];
      add_filter( 'script_loader_src', 'qsr_remove_script_version', 15, 1 );
      add_filter( 'style_loader_src', 'qsr_remove_script_version', 15, 1 );

      Check for the results.

  11. Ameer Khatri says:

    Hi Atul, I just downloaded your plugin to remove query strings, but i can’t find the plugin in my WordPress dashboard. Can you please guide or is it automatic and i just need to activate?

    • AtulHost says:

      Hi, Ameer, just download it and activate from the installed plugins page. That is it. It will do magic without any settings and all. It is installed, activate and leave plugin.

  12. Ellie B says:

    Greetings, I installed your plugin and am hoping you could advise and guide me how to correct the continued report on pingdom that I have a ton of query strings “?” still affecting the site. Thanks Ellie.

    • AtulHost says:

      Hello Ellie. Not all query strings are bad, you only need to worry about strings from your side; by default plugin will remove strings from local resources which causes no-cache issue. Rest any external strings are not possible to remove because they are hosted by third party websites. Only possible solution is host all the content (css, js) on your server and plugin will do its magic.

      A side note: Query strings do not create issue unless it is set to cache. In WordPress “?” a query string defines dynamic content that is why all strings are set to no-cache in WordPress.

  13. Jason says:

    Hello, I was updating my website and all plugins to the latest as I haven’t done so in a while. After I was done I had a problem with my NextGEN plus plugin. I would get an error on my pages I had that plugin installed on. This was the error “Fatal error: This version of Galleria requires nextgen_pro_horizontal_filmstrip theme version 1.6 or later” I then deactivated all of my plugins except for the NextGen gallery and activated every other one, one by one checking my website as I went. This plugin ended up somehow conflicting with the NextGEN plus plugin but not the free version of NextGEN. I let them know as well that way you all know and hopefully, whoever’s plugin is causing the issue can be fixed.

    Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *