#1
  1. No Profile Picture
    Newbie
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jun 2017
    Posts
    4
    Rep Power
    0

    Exclamation Remove query strings from static resources


    Hi All,

    Please help me to resolve the below. am just a beginner so request you to provide simple solutions.

    https://khms1.googleapis.com/kh?v=729&hl=en-US&x=731&y=427&z=10
    https://maps.googleapis.com/maps/api/js/StaticMapService.GetMapImage?1m2&1i1497713&2i87466 4&2e1&3u13&4m2&1u270&2u300&5m5&1e0&5sen-US&6sus&10b1&12b1&token=21615
    https://maps.googleapis.com/maps/api/js?client=google-maps-embed&paint_origin=&libraries=geometry,search&v=3. exp&language=en_US
    https://scontent.xx.fbcdn.net/v/t1.0-0/p130x130/18921858_1785369131479286_5360629981211582735_n.jp g?oh=6f6f63e0a376cb9d16b9f425d91c7107&oe=59CCE080
    https://scontent.xx.fbcdn.net/v/t1.0-0/p235x165/19275035_1798247796858086_8963169006793622584_n.jp g?oh=bd40a32cb980413250a8b7354ef1bc1c&oe=59DEAB52
    https://scontent.xx.fbcdn.net/v/t1.0-0/s235x165/19399007_1797902473559285_5908203790647058964_n.jp g?oh=6a63dfc07f39453f15bbb399fbd0457c&oe=59C411F5
    https://scontent.xx.fbcdn.net/v/t1.0-0/s235x165/19400007_1808814419134757_3674548919251547797_n.jp g?oh=46ffd0b69f5334437982cf2a75e70942&oe=59C8F4B3
    https://scontent.xx.fbcdn.net/v/t1.0-1/c0.8.50.50/p50x50/18010583_1874245899455460_3477560219935802544_n.jp g?oh=e4e446baca7e368ab79b2e2e7cf5da41&oe=59E254C8
    https://scontent.xx.fbcdn.net/v/t1.0-1/c17.0.50.50/p50x50/14567979_1339492282758166_1693191312298885230_n.jp g?oh=c05b3afae509e02ffb18aefc03d44275&oe=59DD8A5D
    https://scontent.xx.fbcdn.net/v/t1.0-1/c8.0.50.50/p50x50/19247910_716507828553958_7552920786241848950_n.jpg ?oh=6a051872349fc42d4915a70860a2f98a&oe=59D6A8D6
    https://scontent.xx.fbcdn.net/v/t1.0-1/p50x50/12376643_1578603382452638_311028410751721535_n.jpg ?oh=1009dc2020b742d5a168c8de3f77f7d0&oe=59D767B7
    https://scontent.xx.fbcdn.net/v/t1.0-1/p50x50/17553730_1411730712217119_6169695480142554708_n.jp g?oh=4bb4e4df29d16e690c655e25b1aeec9e&oe=59E4179C
    https://scontent.xx.fbcdn.net/v/t1.0-1/p50x50/18425423_1350330268369111_2828230096225460613_n.jp g?oh=4adb5f159c655b8c1f966ca4f6b75ebc&oe=59C3E4E3
    https://scontent.xx.fbcdn.net/v/t1.0-1/p50x50/19275035_1798247796858086_8963169006793622584_n.jp g?oh=91ae906ba40960e6e0d4421eae122267&oe=59DD6696
    https://scontent.xx.fbcdn.net/v/t15.0-10/p130x130/19144806_1790113527671513_9216982624461914112_n.jp g?oh=75300ad9619f4b29e8ee4228d7c99e7e&oe=59D54362
    https://scontent.xx.fbcdn.net/v/t15.0-10/p130x130/19291816_1796754977007368_9149367736005033984_n.jp g?oh=3264fc3bb174960bd4979b972c4ee527&oe=59DB78E1
    https://video.xx.fbcdn.net/v/t42.1790-2/19110686_1790114711004728_3872206208991494144_n.mp 4?efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfdjNfNDI2X2NyZl8y M19tYWluXzMuMF9mcmFnXzJfYXVkaW8ifQ%3D%3D&oh=aa4b53 1186d9bd7159cf9add32f99bea&oe=59523623&bytestart=0 &byteend=876
    https://video.xx.fbcdn.net/v/t42.1790-2/19110686_1790114711004728_3872206208991494144_n.mp 4?efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfdjNfNDI2X2NyZl8y M19tYWluXzMuMF9mcmFnXzJfYXVkaW8ifQ%3D%3D&oh=aa4b53 1186d9bd7159cf9add32f99bea&oe=59523623&bytestart=1 185&byteend=13064
    https://video.xx.fbcdn.net/v/t42.1790-2/19110686_1790114711004728_3872206208991494144_n.mp 4?efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfdjNfNDI2X2NyZl8y M19tYWluXzMuMF9mcmFnXzJfYXVkaW8ifQ%3D%3D&oh=aa4b53 1186d9bd7159cf9add32f99bea&oe=59523623&bytestart=8 77&byteend=1184
    https://video.xx.fbcdn.net/v/t42.1790-2/19132000_1790115031004696_2622335614497849344_n.mp 4?efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfdjNfMTI4MF9jcmZf MjNfaGlnaF8zLjFfZnJhZ18yX3ZpZGVvIn0%3D&oh=bfab3f89 ed70dca0cdfa3cbf4bcd70e8&oe=59522413&bytestart=0&b yteend=953
    https://video.xx.fbcdn.net/v/t42.1790-2/19132000_1790115031004696_2622335614497849344_n.mp 4?efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfdjNfMTI4MF9jcmZf MjNfaGlnaF8zLjFfZnJhZ18yX3ZpZGVvIn0%3D&oh=bfab3f89 ed70dca0cdfa3cbf4bcd70e8&oe=59522413&bytestart=126 2&byteend=64707
    https://video.xx.fbcdn.net/v/t42.1790-2/19132000_1790115031004696_2622335614497849344_n.mp 4?efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfdjNfMTI4MF9jcmZf MjNfaGlnaF8zLjFfZnJhZ18yX3ZpZGVvIn0%3D&oh=bfab3f89 ed70dca0cdfa3cbf4bcd70e8&oe=59522413&bytestart=954 &byteend=1261
    https://video.xx.fbcdn.net/v/t42.1790-2/19255986_1796756453673887_8777755285675573248_n.mp 4?efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfdjNfNDI2X2NyZl8y M19tYWluXzMuMF9mcmFnXzJfYXVkaW8ifQ%3D%3D&oh=04bdb7 dfa97360c43f8c9bcef85bc205&oe=5952371D&bytestart=0 &byteend=876
    https://video.xx.fbcdn.net/v/t42.1790-2/19255986_1796756453673887_8777755285675573248_n.mp 4?efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfdjNfNDI2X2NyZl8y M19tYWluXzMuMF9mcmFnXzJfYXVkaW8ifQ%3D%3D&oh=04bdb7 dfa97360c43f8c9bcef85bc205&oe=5952371D&bytestart=1 905&byteend=13784
  2. #2
  3. Just a Photographer
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    May 2011
    Location
    Atwater, CA
    Posts
    823
    Rep Power
    1509
    This isn't a SEO question. If you're using WordPress you can add this to your theme's functions.php file:

    Code:
    /** 
    * Remove Query strings from Static Resources. 
    */
    function remove_cssjs_ver( $src ) {
    	if( strpos( $src, '?ver=' ) )
    	$src = remove_query_arg( 'ver', $src );
    	return $src;
    }
    add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
    add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
    - Mike

    Jack of all trades, master of none.
  4. #3
  5. No Profile Picture
    Newbie
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jun 2017
    Posts
    4
    Rep Power
    0

    Arrow


    Originally Posted by Hikin Mike
    This isn't a SEO question. If you're using WordPress you can add this to your theme's functions.php file:

    Code:
    /** 
    * Remove Query strings from Static Resources. 
    */
    function remove_cssjs_ver( $src ) {
    	if( strpos( $src, '?ver=' ) )
    	$src = remove_query_arg( 'ver', $src );
    	return $src;
    }
    add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
    add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
    Hi Hikin Mike,

    Thanks for the quick response,

    Hope your doing well !!!

    Sorry actually i want to increase my site performance and am using apche server.
    so i cant able to use the above code which is provided by you.
    Hope you can help me.


    Thanks in Advance.
  6. #4
  7. No Profile Picture
    Contributing User
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Sep 2016
    Posts
    922
    Rep Power
    2174
    Why don't you explain your problem, in simpler terms...instead of posting a bunch of links you can't control and links that are 403 access forbidden.

    What aspect of you site do you want to work on...

    BTW Hikin Mike provided the answer you requested, how to remove the query string. Also since you are on an Apache server, that code will work just fine. Apache servers generally use php for server side scripting language.

    Apparently you miss-labeled your question.

    So what exactly are you wanting to do ???

    Comments on this post

    • Hikin Mike agrees
    Last edited by KnowOneSpecial; Jun 27th, 2017 at 09:02 PM. Reason: spelling correction
  8. #5
  9. No Profile Picture
    Newbie
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jun 2017
    Posts
    4
    Rep Power
    0
    Hi All,

    Greetings !!!

    My aim is to increase mywebsite performance so i just analyzed my website
    With the help of Gtmetric.com. It shows me a lot of things need to be done but i have very less knowledge in this field so i donít know how I can resolve those issues.
    thanks in advance.
  10. #6
  11. Just a Photographer
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    May 2011
    Location
    Atwater, CA
    Posts
    823
    Rep Power
    1509
    Some of the things in your list can't be "fixed".
    - Mike

    Jack of all trades, master of none.
  12. #7
  13. No Profile Picture
    Contributing User
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Sep 2016
    Posts
    922
    Rep Power
    2174
    Hey mate, why don't you take the first item in that list and let us know what it is so we can help you... I use GTMetrix just to see what a site will score, then I go and fix it. Each item has a different solution so that is why you are not getting any where with your request.

    Which one you want help on first ? Here is a partial list from their site.

  14. #8
  15. No Profile Picture
    Newbie
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jun 2017
    Posts
    4
    Rep Power
    0
    HI,

    how can i Defer parsing JavaScript to reduce blocking of page rendering.
  16. #9
  17. Just a Photographer
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    May 2011
    Location
    Atwater, CA
    Posts
    823
    Rep Power
    1509
    Originally Posted by jerrycfa
    HI,

    how can i Defer parsing JavaScript to reduce blocking of page rendering.
    This is from the GTmetrix site: https://gtmetrix.com/defer-parsing-of-javascript.html


    It might be easier to post your website here. Just type in your site like this 'yoursite.com'.
    - Mike

    Jack of all trades, master of none.

Similar Threads

  1. Can't minify CSS with query strings
    By Shadwstorm in forum New User SEO Questions and Answers
    Replies: 2
    Last Post: May 15th, 2015, 02:21 PM
  2. Query strings in analytics
    By entrancesw in forum Analytics Analysis
    Replies: 0
    Last Post: Feb 8th, 2008, 04:48 PM
  3. Google and Query Strings
    By oldskool79 in forum Google Optimization
    Replies: 8
    Last Post: Jun 13th, 2006, 05:26 AM
  4. htaccess and query strings
    By Highland in forum Web Design, Coding and Programming
    Replies: 0
    Last Post: Dec 27th, 2004, 02:36 PM
  5. Using 404.asp instead of query strings
    By typeb in forum Google Optimization
    Replies: 13
    Last Post: Oct 25th, 2004, 07:03 AM

IMN logo majestic logo threadwatch logo seochat tools logo