-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Is there a recommended practice for ensuring canonical URLs for a book? For example, the current rust book can be found at these URLs:
https://doc.rust-lang.org/book/
https://doc.rust-lang.org/book
- which 302s to
/doc/stable/book/
and then/stable/book/
.
- which 302s to
https://doc.rust-lang.org/book/index.html
https://doc.rust-lang.org/book/title-page.html
(although this one is slightly different, in that the title page section in the ToC is styled as "active").
However, I don't notice a <link rel="canonical" href="https://doc.rust-lang.org/book/">
on any of the resulting documents. Should mdbook offer any recommendations in this regard, and/or a configuration option to allow for a canonical link on pages?
yasutakeyohei, pinage404, roberth, dcampbell24 and kands-code
Metadata
Metadata
Assignees
Labels
No labels