Skip to content

FlexSearch configuration to honor canonifyURL? #829

Answered by markdumay
Aman-Aalam asked this question in Help
Discussion options

You must be logged in to vote

I have released mod-flexsearch v1.10.0 that includes a new configuration option. Upgrade your module reference to mod-flexsearch to this version and add the following configuration to your site configuration (e.g. hugo.toml):

[params.modules.flexsearch]
    canonifyURLs = true

In this mode, the search index will use absolute URLs instead of relative URLs. Hopefully this will resolve your issue.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Aman-Aalam
Comment options

Answer selected by Aman-Aalam
Comment options

You must be logged in to vote
2 replies
@Aman-Aalam
Comment options

@markdumay
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants