How to Remove Query String in WordPress

By | October 19, 2015


When you are running a WordPress website one of your main goal is to optimize the performance of your WordPress website. You may even use various plugins that are available to improve the performance of your website. One of the main thing through which the performance of the website will be improved is by removing the query string.

What is Query String?

Whenever one sees the source of the WordPress site then one sees the source code and  the URL that looks like this:  —> (ver=4.2.2)

This can be seen on images, CSS and JavaScript in most of the cases. Query Strings is the part of a URL which are used in CSS and JavaScript files.  They are the URLs with a “&” or “?” and most of the proxy server do not cache CSS and JavaScript resources with Query string.

Need to remove Query Strings:

  • Query Strings slows the speed of the website.
  • It gives away the WordPress Version of the website which is of no use since you have the access to the Dashboard.
  • Effects the performance of the website.

How to remove a Query String?

There are different Solutions through which the Query Strings can be removed:

1] Query Strings from Static Resources can be removed by using the WordPress Plugin Remove Query Strings From Static Resources. One just needs to install the plugin and then activate it.

2] In order to increase the web page loading time, one can use the Cache Plugins. It helps to increase the loading speed of the website. It offers an option to remove query strings from static resources. It is one of the best plugin that will increase the page loading speed.

The above Plugins will surely help you to improve the performance of the website and by increasing its speed. Speed of the website is very important from the visitors point of view. No one will visit the website which takes long time to load a page. Removing the query strings from the WordPress site is the best way to improve the experience of the visitors.

Related Post