• Hello,

    I created anchor links using href for the bulleted header items in the webpage I’m working on. The links work fine, when clicked, they advance the page to the proper anchor point. No issue there. The problem is that the URL path is unchanged after clicking a link.

    So for example, after clicking the link, I would expect the URL path to change to:

    wwww.example.com/article#anchor

    but instead, even after the page advances to the anchor point, it still reads:

    wwww.example.com/article

    Is there a reason for this? I would prefer to have the #anchor portion included in the URL. I also used href anchor links for a table I created with a plugin within the same page and those links work properly, including the #anchor in the URL. I don’t understand why they are functioning differently.

    Any insight would be greatly appreciated. Just FYI that I am not very experienced with coding. Still learning.

    Thanks,
    Megan

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Megan,

    What theme are you using?

    Thanks

    Thread Starter garneranalysis

    (@garneranalysis)

    Divi

    Megan

    If you use a commercial theme or plugin and need support, please go to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations.

    https://www.elegantthemes.com/forum/

    Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme or plugin is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.

    Thread Starter garneranalysis

    (@garneranalysis)

    Okay. I guess I didn’t know it was a theme problem. I was assuming there was a code fix.

    Thanks,
    Megan

    We can’t know where is the error in your code to provide a code fix. There could be a lot of things going on, starting from a conflict and going to a missing semicolon.

    Theme developers have the files and also can get login credentials from you to inspect the code and provide a code fix.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘href anchor link NOT extending URL path with #’ is closed to new replies.