-
Notifications
You must be signed in to change notification settings - Fork 84
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
Add canonical links for Google #988
Conversation
This doesn't seem to work locally though.
Co-authored-by: Peter L Jones <pljones@users.noreply.github.com>
Co-authored-by: Peter L Jones <pljones@users.noreply.github.com>
Co-authored-by: Peter L Jones <pljones@users.noreply.github.com>
BTW the only way I can get the site to work without errors after cloning it locally (on Ubuntu 24.04) is to:
|
I had a go yesterday and surprisingly enough didn't run into any problems - the usual commands worked. I'm on Mint 21.3 (based on Ubuntu 22.04). |
Ok so maybe it's some ruby version dependency thing. I'll see if I can
reproduce it on a fresh 24.04 installation and maybe add a note to the docs
since the error messages are pretty unhelpful.
…On Sun, 9 Jun 2024, 12:34 pm ignotus, ***@***.***> wrote:
I had a go yesterday and surprisingly enough didn't run into any problems
- the usual commands worked. I'm on Mint 21.3 (based on Ubuntu 22.04).
—
Reply to this email directly, view it on GitHub
<#988 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCZWU4V3EZQDBTZRGVG3WDZGQ4U3AVCNFSM6AAAAABI4NM4ICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGQ2TKNBXGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Co-authored-by: Peter L Jones <pljones@users.noreply.github.com>
I think we may be best merging this after the language code fix is merged, since Google might treat |
Closing as now part of #994 |
==> UPDATE <===
These changes are probably better incorporated with @ignotus666 changes to the language selector. So putting in draft for now.
Short description of changes
sitemap.xml
which I think might be responsible for "invalid URL" errors from Google.What is missing until this pull request can be merged?
Ideally, need to work out how to get_includes/general/nav.html
to work, but it's not doing it when the current language is en for some reason.BTW I'm not 100% sure that adding
rel=canonical
to the EN version of links is necessarily going to fix Google's problem, since they imply we can only "suggest" the canonical versions, but hopefully this will make things a bit better.Does this need translation?
No
Checklist