How To: Remove Query Strings – WordPress

This is just a piece of code on how to properly remove WordPress styles and scripts versioning or query string.

There’s no problem on displaying the query string, yes, but if we start to work on our site speed and SEO we have to consider displaying relevant information to our site visitors; some proxy caching servers are not caching files ending with ? or & and by removing the query string will help increase your WordPress site speed significantly.

By removing query string it also help you see your site code changes instantly, specially styling.

That’s it happy coding ^_^

by Ryan Sutana