URL that contains # already

I have a site that already has # in its URL. Is there a way to create an anchor to a part of this page since # is already in URL.

For example, my page is www.example.com/#something so I would like to create an anchor point somewhere in the middle of the page and provide the user with URL that will take him directly to that part of the page.

Thanks

Have you tried just giving the user a link like www.example.com/#somethingelse

no i tested that and it doesn’t work

Interesting. That “something” is called a fragment, and it wouldn’t make any sense to have two of them, so there’s no syntax to do that. The browser jumps to that fragment as an ID in your html, so it can’t exactly jump to two places.

Is your site somehow shared with several other sites all on the same domain all at the same url, with some mechanism that’s using the fragment to decide to jump to your site?

this site is using CMS (Wordpress) and has a page that has different tabs each tab adds #tab1, #tab2 etc to the end of URL so it becomes www.something.com/#tab1 and so on.

this is plugin used https://shapedplugin.com/wp-tabs/wp-tabs-lite-version-demos/#tab-4425

Hope that make sense

It does make sense… unfortunately I don’t have a good solution that doesn’t break wordpress. You’re wanting to tell the browser to first jump to tab1, and then also jump to “something” on that tab. If you were writing all the code yourself, it would be easy, but if it isn’t something built in to the wordpress theme already, I can’t think of a way to do it.

i know what you mean. Thanks for responding

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.