"Link to section" is linking to wrong section? 2.0

Hi,

I build a website with 2 language options. The french page is basically a clone of my Dutch page with different links in the navbar. It was working fine before, but somehow the published website is always returning to the dutch page. In preview mode however, it works fine.

I was reading trough an older post and this didn’t fix it for me. (“Link to section” is linking to wrong section?)

Any help would be much appreciated!


Here is my public share link: https://preview.webflow.com/preview/pocketmoments?preview=0746bbb1f86abebc3571104a10404b35

Hey @Ward_Coertjens,

Looks like a bug…
What is happening :

When you click on the french cta it goes here

http://pocketmoments.be/#participer

instead of

http://pocketmoments.be/fr/#participer

Since the #participer doesn’t exist on http://pocketmoments.be/ it goes to the top of the page

Try to rebuild quickly your french button with a new classname.
Also change the id on the french section targeted.
Publish and tell me if it’s working

Hey @zbrah, Thanks for the reply!
I tried rebuilding it, but no luck.

As a test I created a new button and linked it to a section on the page, but the problem persists.
I could get around this bij linking to http://pocketmoments.be/fr/#start-fr but then I can’t use the “current” class

Any other ideas?

Hey @Brando, i hope you are doing well.

Am i missing something here ?
This look really strange.

I also noticed this :

On click on the link Block FR, this should go to the page http://pocketmoments.webflow.io/fr refered to the setup here

But it switches to the original domain

Also as detailed above, the link to id doesn’t respect the folder, it goes directly to

http://pocketmoments.be/#deelnemen-fr

instead of

http://pocketmoments.be/fr/#deelnemen-fr

Do you think it’s a duplicate bug ?

Hi @zbrah and @Ward_Coertjens

Thanks for pinging me on this weird behavior.

I opened the live site and it looks like it is working as expected now.

@Ward_Coertjens Can you confirm that you found a fix for this? If so, how? Did you use @zbrahs suggestions?

​Thanks in advance, and I’m standing by for your reply.

1 Like

Hey @zbrah and @Brando ,

I didn’t change anything, and the behaviour is still the same for me.

When I unpublish pocketmoment.be I can’t link from the home page to http://pocketmoments.webflow.io/french and it automatically tries to link to pocketmoments.be/french

I tried duplicating the home page again, but that don’t work either.

I’m gonna try some different things, and see try and find the issue. So if you have any other suggestions, I’m happy to hear :wink:

Thanks,

hey @zbrah and @Brando,

I found the issue.

Apparently I added the website in the Base Tag: (href=) setting in my website settings. Removing this solved the problem.

Thanks for the help though!

2 Likes

Awesome @Ward_Coertjens :slight_smile: :webflow_heart:

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