Support » Plugin: jQuery Smooth Scroll » Plugin breaks #anchors in address bar

  • Lets say you have several same page anchor links to the different headings in your article.. You link to them #1st section, #2nd section, #conclusion etc..

    Thing is, with this plugin enabled, 1 word anchors like #conclusion don’t appear in the address bar when clicked, but multiple word ones do! But if you join the multi word anchors with a hyphen for example then they also don’t appear in the address bar when clicked so you end up with ZERO anchor links appearing in the address bar.

    #conclusion (Doesn’t appear in address bar when clicked, has smoothscroll)
    #the conclusion (Does appear in address bar when clicked, no smoothscroll)
    #the-conclusion (Doesn’t appear in address bar when clicked, has smoothscroll)

    So in order to use this plugin you have to join all your multi word anchors with a hyphen & forget about having your anchors appear in the address bar. Single word anchors work with smoothscroll right away but they don’t appear in the address bar.

    Question is.. With all your anchors joined with hyphens so they scroll and none of them appearing in the address bar when clicked, does this cost you search engine indexing of these links? Also visitors won’t be able to grab the link for the section they are currently viewing.

    Any advice would be good.. I don’t want to lose the seo benefit of my anchor links.

    • This topic was modified 2 years, 1 month ago by philrichards.
  • The topic ‘Plugin breaks #anchors in address bar’ is closed to new replies.