• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

TekSec

My Scribbles on security and whatever strikes my fancy . . .

  • Home
  • About
    • Privacy Policy
    • DISCLAIMER
  • Services
    • Content Strategy
    • Social Media
    • Digital Audit
  • Show Search
Hide Search

Remove Query Strings From Static Resources in WordPress

January 6, 2014 By teksquisite 2 Comments

remove-query-strings-from-static-resources-plugin

I’ve been going bonkers lately trying to remove silly little query strings from static resources in WordPress. Though I tried changing various settings in W3 Total Cache; edited .htaccess and functions.php; purged the Minify and CDN cache completely; the error remained intact. People who know me, know that sometimes I can’t let a dead dog die; so I could not let the query string problem slide into an abyss either. It soon became a two week obsession. I absolutely detest myself when I get stuck in one of my obsessions…

Operating under limited hosting

Due to playing musical hosting services over an 18-month time frame – I no longer maintain a VPS  (I currently host with a reseller account), so I am limited on how much back-end tweaking I can perform. It becomes frustrating at times, specifically when it involves files that I do not have access to anymore. Suffice it to say that due to financial constraints, I have been on a shoestring budget for the past year. So, when I find something (like a slick plug-in) that resolves an issue like this; I love to rave about a cool find. 

 

How to remove query strings from static resources

I was stoked when I stumbled across this recently developed plug-in by Your WordPress Expert and was ecstatic to find such a quick and dirty. No more hair pulling or screaming at my reseller account! No more tweaking code with limited resources or breaking my site. I am ecstatic! Who would have thought that this one plug-in would make my da?

Plug-in Description: This plugin will remove any query strings from static resources like CSS & JS files, and will improve your speed scores in services like PageSpeed, YSlow, Pingdoom and GTmetrix.

Resources with a “?” or “&” in the URL are not cached by some proxy caching servers, and moving the query string and encode the parameters into the URL will increase your WordPress site performance grade significant.

Website Optimization

Though I do not pool all of my efforts into obtaining a perfect score, here are four sites that I frequently utilize to tweak my webs:

  1. GTMetrix – Uses Google Page Speed and Yahoo! YSlow.
  2. Pingdom – Plenty of performance-related statistics and you can trace your performance history.
  3. WebPageTest -Open-source project (supported by Google) and also includes test history.
  4. PageSpeed Insights – Google developers. Measures page performance for both mobile and desktop devices. A score of 85 or above is optimal.
What tools do you use to optimize your WordPress blog?
 
Facebooktwitterredditpinterestlinkedinmailby feather

Filed Under: TekSec Bytes, Updates

Reader Interactions

Comments

  1. Harish says

    October 1, 2018 at 11:13 pm

    Seems your link to plugin is broken.
    In google recommend:
    https://wordpress.org/plugins/remove-query-strings-littlebizzy/

    Is same for you? cheers bro

    Reply
    • teksquisite says

      October 3, 2018 at 3:20 pm

      Thank you! The link is now fixed 🙂

      Reply

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Visit Us On TwitterVisit Us On FacebookVisit Us On PinterestVisit Us On YoutubeVisit Us On LinkedinCheck Our Feed

Recent Posts

  • 13 Reasons why WordPress hacks are successful
  • Hacked medical devices gaining traction
  • Online Travel Agency Deals: Due Diligence and Dive

Top Posts

  • Safari browser redirects on iPhone, iPad –… (11,452)
  • 6 motivations of cybercriminals–Is it all about the money? (4,767)
  • How to derail a Business Gmail Spam bomb (4,270)

RSS SecurityWeek

  • Critical Vulnerability Impacts Over 120 Lexmark Printers
  • BIND Updates Patch High-Severity, Remotely Exploitable DoS Flaws

RSS Threatpost

  • Student Loan Breach Exposes 2.5M Records
  • Watering Hole Attacks Push ScanBox Keylogger

Recent Comments

  • teksquisite on How to derail a Business Gmail Spam bomb
  • Stephanie Cleveland on About
  • bob mbeng64 on How to derail a Business Gmail Spam bomb
  • teksquisite on Remove Query Strings From Static Resources in WordPress
  • Harish on Remove Query Strings From Static Resources in WordPress

Categories

Copyright © 2023 · Teksquisite Security LLC

  • Home
  • About
  • Services
  • Privacy Policy
  • DISCLAIMER