• Hello,

    How to use this plugin when we have URL parameter inside the link?

    For example : mydomaine.com/?sc=fb

    And need to scroll to #section

    When there is a parameter inside the URL, the page reload.

    Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    Do you use the full URL in your link? If yes, the page will reload because:

    mydomaine.com/?sc=fb#section

    is a totally different URL than:

    mydomaine.com/#section

    This is not something that has to do with the plugin. It has to do with how browsers and web servers work. Even if you temporarily deactivate the plugin and test your link, the page will also reload before jumping to the anchor.

    You can bypass this behavior when you use only the hash in your link’s URL (not the full URL):

    #section

    Does this help?

    Thread Starter formationfacile

    (@formationfacile)

    Thanks a lot for your reply!

    It’s perfect!

    Incredible plugin, I will leave you a good review 👌

    Enjoy the holidays!

    Plugin Author malihu

    (@malihu)

    You’re welcome 🙂
    Happy holidays!

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

The topic ‘Problem with link parameter’ is closed to new replies.