I’ve added full URLs with anchor links to my main menu. I’ve named the IDs to be unique and not any duplicates on the site. The anchor links are not working.
When I manually enter the full URL with the #anchor-link, that works and goes to the div with the corresponding ID. I’ve read a bunch of other posts here, tried deactivating plug-ins, clearing caches, re-saving the menus, etc.
Nothing seems to work. Anyone else run into this? Help needed. Thx!
To clarify. The anchor links in the menu work when I am on the same page as the sections I am anchoring to. But when I try to link from another page, they do not work. The links just go to the top of the page. They don’t scroll down to the section ID specified after the #.
In the post you deleted you mentioned it works when you add the www subdomain to your url, this is because you have decided to setup your site to use the www subdomain but it is accepting connections on the non-www domain. You need to decide which domain you are going to use and redirect to the other, then everything will work as designed.
Thanks. I switched the word press setting to remove the “www” and updated all links. Unfortunately, I am still having the issues. Anchor links works on same page, but not using full URL link from another page. Any help greatly appreciated! @craiger522
If you follow whats going on in the network tab it seems to hit a 404 then get redirected to https://rise-community.com/community/
Do you have any redirections in place?
I saw some other posts about a Javascript conflict that could do it and some code you could paste in. It was an old post. Tried it but didn’t work. Tracking down javascript is way beyond my skillset.