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

Add canonical URL for all routes #71

Open
cnrdh opened this issue May 4, 2023 · 1 comment
Open

Add canonical URL for all routes #71

cnrdh opened this issue May 4, 2023 · 1 comment
Assignees

Comments

@cnrdh
Copy link
Member

cnrdh commented May 4, 2023

akvaplan_fresh needs canonical URL / sitemap support for all routes

With Deno KV it's now extremely simple to store the delivered content of all canonical pages (if this can be grabbed by middleware?)

A KV site search index could run as a separate Deno Deploy Search API, updated when a page changes

KV store

  • ["canonical", lang, pathname] – the unique text content of a individual page

Probably use https://github.com/nextapps-de/flexsearch – the index would have to created on each isolate start since it's probably bigger than Deno KV document size limit

@cnrdh cnrdh self-assigned this Jun 2, 2023
@cnrdh cnrdh changed the title Add search index of all canonical pages using Deno KV Add canonical URL for all routes Jun 12, 2023
@cnrdh cnrdh added this to akvaplan.no Oct 6, 2023
@cnrdh
Copy link
Member Author

cnrdh commented Jul 8, 2024

Search is implemented using orama – without a sitemap and without canonical routes.

Open Graph also supports alternative language routes, support for the 4 required properties added in https://github.com/akvaplan-niva/akvaplan_fresh/pull/398/files

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

No branches or pull requests

1 participant