This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Remove query strings from static resources

11 years ago · Last reply by Greg Priday 11 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.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. sjensen 11 years, 9 months ago

    Shall I maybe change som .php file for that ?

    Anyone know how to delete the ?v=3.2.1 ?

  2. Greg Priday Staff 11 years, 9 months ago

    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.

Have a different question or issue?

Start New Thread