Skip to content

Site customization Header Button Navigation | Wrong redirect URL #3232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
corytam opened this issue May 13, 2025 · 1 comment
Closed

Site customization Header Button Navigation | Wrong redirect URL #3232

corytam opened this issue May 13, 2025 · 1 comment
Labels

Comments

@corytam
Copy link

corytam commented May 13, 2025

Bug description

This is when using gitbook app.
When entering external link to navigation button for site header, the navigation button will not direct the user to the right location.

Expected Result URL
www.example.com

Actual Result URL
https://[gitbook-sitename].gitbook.io/[site-slug]/[current-page]/www.example.com

How to reproduce

1.Go to site customization > Layout > header> navigation
2. Add item
3. Enter name
4. Enter external URL and click the "Link to [external URL] dropdown
5. Choose style (for this button i chose secondary in particular , shouldnt be an issue unless style components has wrong logic)
6. Click add and save
7. Go to gitbook site and click button , goes to internal URL## Additional context

@corytam corytam added the bug label May 13, 2025
@emmerich
Copy link
Contributor

Thanks @corytam , a fix is on the way and will be deployed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants