Clean URLs
#280
-
Is it possible to omit the extension .html into the search index? |
Beta Was this translation helpful? Give feedback.
Answered by
bglw
May 1, 2023
Replies: 1 comment
-
Hey @jcehenne 👋 The best way to control URLs it to tag a custom URL on your pages — see the docs for this here: https://pagefind.app/docs/ui/#overriding-the-url-of-a-result Alternatively you could use the processResult hook of the UI to tidy results on the fly |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bglw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @jcehenne 👋
The best way to control URLs it to tag a custom URL on your pages — see the docs for this here: https://pagefind.app/docs/ui/#overriding-the-url-of-a-result
Alternatively you could use the processResult hook of the UI to tidy results on the fly