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

feat(core): merge robots.txt disallows and sitemaps into config #79

Merged
merged 2 commits into from
May 10, 2023

Conversation

harlan-zw
Copy link
Owner

Description

This PR completes the robots.txt integration. It will now read your robots.txt and merge in appropriate rules, including:

  • Disallow -> scanner.exclude. This will avoid scanning URLs that shouldn't be included.
  • Sitemap -> scanner.sitemap. Adds any sitemap entries, supporting an array of URLs

Linked Issues

Maybe fixes #58
Fixes #47

Additional context

@netlify
Copy link

netlify bot commented May 10, 2023

Deploy Preview for unlighthouse failed.

Name Link
🔨 Latest commit 3ea2baa
🔍 Latest deploy log https://app.netlify.com/sites/unlighthouse/deploys/645b30ef467a9f0008c00715

@harlan-zw harlan-zw merged commit affcc89 into main May 10, 2023
1 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cdn-cgi being checked Allow to specify multiple sitemaps (and/or retrieve them from robots.txt)
1 participant