Unwanted string appended to permalinks (6 posts)

  1. killipso
    Posted 3 years ago #

    Currently testing on local machine using WP 3.3.1, I have a permalink structure:


    I have a number of pages and x9 custom_post_types an example of which is 'destinations'. The permalink for this example is http://localhost/destinations/. In the website, when I click on my menu item for 'destinations', the page loads in the browser but the URL is rewritten, appearing in the address bar as http://localhost/destinations/#.T6jztI7bhjA The # symbol, period, and following string is being appended. The string is different in part each time, while two parts of the sting are consistent across all permalinks - the first five characters '#.T6j' is consistent and the ending 'bhjA' ( If I reload the URL complete with the appended string it will advance the last character 'A' to 'B' to 'C' to 'D' at which point it stops. The central section of the appended string continues to change).

    While this happens to all permalinks, when loading one by clicking on the menu item that refers to the URL that is currently loaded in the browser and showing in the address bar (Self referring?) the string is not appended.

    For example, if I click on the 'destinations' menu item when already on the destinations page, the string that starts with the # is not appended it is written as expected: http://localhost/destinations/

    This dos not happen for my home page, but for all other pages/posts whether custom_post_type or standard defaults.

    Can anyone shed some light on this. Even if it is just to point me where to look.

    I'm using a modified version of the theme 'twenty eleven' with custom templates for header, sidebar, archive, single etc., for each custom_post_type.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Deactivate the Add This plugin.

  3. killipso
    Posted 3 years ago #

    Thanks. I've done that and my Permalinks are fixed. What a relief!

    Now my new quandry... is there an alternative to the Addthis plugin that will not mess up my permalinks, or can I do something to fix Addthis?

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    I've not used AddThis, so I'm afraid I don't know of an alternative. I do seem to recall that some people have been able to use the plugin successfully by turning off one of its options but, unfortunately, I can't recall which option. It might be worth experimenting with it though.

  5. killipso
    Posted 3 years ago #

    Hi esmi,

    I did as you suggested and found it is the 'Track address bar shares' option that, when checked, causes the appending of the string. For now, I'll leave the option unchecked and have a read about what the impact of this is and whether there is a more suitable plugin.

    If there is a post you or anyone else can point me to on the subject of sharing plugins I'd appreciate the direction. I'll check back later to see, and go looking in the mean time.

    Thanks very much for your help.

  6. killipso
    Posted 3 years ago #

    Well, for anyone interested. On the Addthis website at this URL: http://support.addthis.com/customer/portal/articles/381254-address-bar-sharing-analytics#.T6kKIo7bhjA is an explanation of the issue I tried to describe above. In particular it addresses my concern regarding SEO. It suggests I needn't worry about the appended string and I quote:

    Note: these types of tags (called URL fragments) [the appended string I referred to] will not affect your SEO because they are discarded by search engines during web crawling.

Topic Closed

This topic has been closed to new replies.

About this Topic