Skip to content
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

use relative link for languages #489

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

milahu
Copy link

@milahu milahu commented Sep 26, 2022

cherrypick from 2fd53c0

@alex-shpak
Copy link
Owner

Hello!
Does this change fix some problem?

@milahu
Copy link
Author

milahu commented Dec 5, 2023

1 year later...

i guess this makes it work with github pages
where / is not the main path

@leoheitmannruiz
Copy link
Contributor

What I've seen a few times is people serving their site at both www.example.org and example.org (not redirecting one to the other).

Then, if the link is absolute (for example www.example.org/page) and you're on example.org (no www), you're suddenly on www.exampe.org.

I suppose that is an example for why relative links are good practice?

I might be missing the benefits of absolute urls though :)

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

Successfully merging this pull request may close these issues.

None yet

3 participants