#community-help

Configuring Typesense & Docusaurus for SEO

TLDR Inas asked how to adjust document priority in Typesense & Docusaurus. Jason recommended specific configuration settings and the use of regex's for targeting multiple URLs.

Powered by Struct AI
6
16mo
Solved
Join the chat
Jun 14, 2022 (16 months ago)
Inas
Photo of md5-7272dfc01bbf41d0a7fb6a815d2a217a
Inas
12:49 AM
Another Typesense + Docusaurus question. Is this the recommended config to crawl Docusaurus 2 site https://github.com/algolia/docsearch-configs/blob/master/configs/docusaurus-2.json

Any direction to deprioritize documents on certain path (less weight)? For example I want to make documents under /refs/* path to have lesser weight than other documents.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:05 AM
Yup that's the recommended docusaurus config
04:05
Jason
04:05 AM
Here's how you can increase the weightage for particular pages: https://docsearch.algolia.com/docs/legacy/config-file#using-page-rank
Inas
Photo of md5-7272dfc01bbf41d0a7fb6a815d2a217a
Inas
05:09 AM
interesting, can I use wildcards url to target many pages at once?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
05:20 AM
start_urls is a prefix, so you by default it will target all URLs that start with the URL that you mention there
05:21