Home>Support>Remove query strings from static resources

Remove query strings from static resources

By sjensen, 10 years ago. Last reply by Greg Priday, 10 years ago.

Hello
Hope you can help me with this.

I ran my site in gtmetrix, and I should fix this:
Resources with a “?” in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:
http://website.com/wp-content/themes/vantage/fontawesome/font/fontawesome-webfont.woff?v=3.2.1

How do I delete the ?v=3.2.1 from the url ?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 3 months ago sjensen

    Shall I maybe change som .php file for that ?

    Anyone know how to delete the ?v=3.2.1 ?

  2. 10 years, 3 months ago Greg Priday
    Hi, I Work Here

    Hi There Simon.

    It’s common practice to add those queries so that if the file ever changes, the new version number will trigger browsers to fetch the latest version of the file.

    It wont effect the speed of your site, but if you do want to edit this, you’ll need to open up fontawesome/css/font-awesome.css from the Vantage theme folder and remove the query strings from the font-face definition.

    Just note, you’ll need to do this each time you update Vantage.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More