Title: Removing query string from posts
Last modified: July 11, 2020

---

# Removing query string from posts

 *  [databell96](https://wordpress.org/support/users/databell96/)
 * (@databell96)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/removing-query-string-from-posts/)
 * I’m noticing lately that a query string starting with a pound sign / hashtag,
   a period and then some characters. Is there some we can remove this so we can
   have cleaner URL’s?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremoving-query-string-from-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Elsa](https://wordpress.org/support/users/elsaaddthis/)
 * (@elsaaddthis)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/removing-query-string-from-posts/#post-13111636)
 * Hi there,
 * Thanks for contacting AddThis Support!
 * Looks like you’ve enabled address bar tracking, which appends those parameters
   to your URL. They’re there so that we can collect analytics when someone copies
   the URL out of the address bar instead of going through our sharing tool. It 
   shouldn’t affect people linking to your site and can provide insight into what
   content is the most popular on your site.
 * Here’s some additional information on the importance of address bar sharing:
   
   [http://www.addthis.com/blog/2013/10/17/url-cut-paste-a-big-part-of-content-engagement-you-might-be-missing](http://www.addthis.com/blog/2013/10/17/url-cut-paste-a-big-part-of-content-engagement-you-might-be-missing)
 * If they’re not wanted or are causing issues, you’re free to disable address bar
   sharing tracking. Just adjust your addthis_config variable like this:
 * <script type=”text/javascript”>
    var addthis_config = addthis_config||{}; addthis_config.
   data_track_addressbar = false; </script>
 * More information about address bar sharing analytics is available here:
    [http://www.addthis.com/help/address-bar-sharing-analytics](http://www.addthis.com/help/address-bar-sharing-analytics)
 * Please let me know if you need further assistance and thanks so much for using
   AddThis!
 *  Thread Starter [databell96](https://wordpress.org/support/users/databell96/)
 * (@databell96)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/removing-query-string-from-posts/#post-13111712)
 * First off, thanks for the info. Should let you know the first link worked but
   your second link brought up a 404, so it’s in incorrect or the page is down.
 * Second, that script you want me to change. Where do I do that? I do I just add
   this to my footer.php or an external JS file?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Removing query string from posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/addthis_70cced.svg)
 * [WordPress Share Buttons Plugin – AddThis](https://wordpress.org/plugins/addthis/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/addthis/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/addthis/)
 * [Active Topics](https://wordpress.org/support/plugin/addthis/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/addthis/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/addthis/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [databell96](https://wordpress.org/support/users/databell96/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/removing-query-string-from-posts/#post-13111712)
 * Status: not resolved