Open carlinmack opened 3 years ago
Thoughts:
https://scholia.toolforge.org/author
is short for https://scholia.toolforge.org/author.html
(for individual pages)https://scholia.toolforge.org/author/
is short for https://scholia.toolforge.org/author/index.html
(for category pages)Following this pattern, all makes sense to me, considering an aspect landing page is like an category, and a page for a specific item (of some aspect) or actions (e.g. for curation or about). Yeah, I do see your point :)
That leaves the question of the redirect on author
...
Researching into this, the behaviour in the original post is described in the Flask documentation. I see your logic with category vs item, however it seems nicer to use the /
s as there is an in-built redirect?
I'll look into if it is possible to have the redirect's go the other way automatically.
It seems we can disable strict_slashes
and set the canonical URL to without trailing slashes (so that search engines don't see the pages as separate).
There doesn't seem to be a consistent best practise for trailing slashes (TS). For static sites, TS are preferred as you don't need a webserver to serve extension-less web pages. On the other hand, GitHub, StackOverflow, Twitter, gov.uk etc. by default serve without TS. Of the sites I looked at, only gov.uk redirects to TS-less.
In conclusion, it's unclear. I would probably lean towards disabling strict_slashes
and having without-TS as the canonical URL.
@fnielsen, your input is needed.
As we can see,
Thoughts?