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 draft robots.txt #87

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Add draft robots.txt #87

wants to merge 3 commits into from

Conversation

herzog31
Copy link

  • Add draft.robots.txt as a blueprint for customers.

Test URLs:

Copy link

aem-code-sync bot commented Jul 25, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

Copy link

aem-code-sync bot commented Jul 25, 2024

Page Scores Audits Google
/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@herzog31
Copy link
Author

@hannessolo @dicagno Can you think of anything else that we should add to this file?

@hannessolo
Copy link
Collaborator

Does this take into account luma bridge pages? Should it also disallow pages like /account ?

@herzog31
Copy link
Author

@hannessolo Good point. All of those pages should already be excluded via metadata <meta name="robots" content="noindex, nofollow"> e.g. https://main--aem-boilerplate-commerce--hlxsites.hlx.live/customer/account. We could move those over to the robots.txt.

@justinconabree
Copy link

Hi @herzog31 here's what we've seen are good paths to exclude in our projects:

/drafts/**
/enrichment/**
/experiments/**
/fragments/**
/tools/**
/nav
/footer

Note this was taken from the exclude from helix-query feeding our sitemap so the pattern might be different.

@herzog31
Copy link
Author

Thanks @justinconabree, I added some of your suggestions 👍

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.

3 participants