Your login button in the Webflow navbar is redirecting to the wrong page, even though you've set the correct link—this usually points to issues with symbol overrides, custom code, or publishing inconsistencies.
1. Check the Navbar Symbol
- If your navbar is a symbol (a reusable component), updating the link in one page may not update it site-wide unless you edit the symbol directly.
- Go to any page where the navbar appears. Double-click the navbar symbol to enter editing mode.
- Click the login button and ensure the link is correctly set.
- Apply the change, then publish the site again.
2. Inspect the Button Link Settings
- Select the login button and look at the Element Settings panel (gear icon).
- Ensure the correct Page is selected in the “Page” dropdown (not an external URL).
- If it’s linked via a custom URL, double-check for typos or issues like missing slashes (e.g., use /login instead of login).
3. Publish All Changes
- After making updates in Webflow, you must publish the site for changes to take effect.
- Click Publish, then choose both your main domain and the Webflow.io staging domain to ensure consistency.
4. Clear Browser Cache or Test in Incognito
- Sometimes browsers cache the old version of the navbar:
- Try opening the site in an incognito/private browsing window.
- Or clear browser cache and reload the site.
5. Check for Custom Code
- Go to Page Settings or Project Settings > Custom Code.
- Look for any JavaScript or redirect logic that may override the login button’s behavior.
- If present, confirm it’s not redirecting or interfering with the login button click.
6. Test in Webflow Preview & Published Site
- Use Webflow's Preview mode to test the button.
- If it behaves correctly there but not on the live site, your issue is likely due to a publishing delay or caching.
7. Browser Developer Tools
- Right-click the login button on the live site and choose Inspect.
- Confirm the button has the correct href or click behavior.
- If the live site shows a different href than Preview mode, there's likely a publishing issue or symbol override not applied.
Summary
Edit your navbar symbol directly, confirm the login button link, publish site-wide, and verify there is no conflicting custom code or browser caching issue. Use Developer Tools to ensure the live site reflects your Webflow settings.