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

docs: exclude /events from the sitemap #1128

Merged
merged 3 commits into from
Dec 20, 2024
Merged

docs: exclude /events from the sitemap #1128

merged 3 commits into from
Dec 20, 2024

Conversation

jannikmaierhoefer
Copy link
Collaborator

@jannikmaierhoefer jannikmaierhoefer commented Dec 20, 2024

Hi @marcklingen, I would like to remove the /events folder from the docs sitemap as all sub-pages are set to no-index and ahref complains.

I added "/events" to the next-sitemap.confix.js. Could you check if this is correct?


Important

Exclude /events/* from the sitemap in next-sitemap.config.js to prevent indexing of no-index sub-pages.

  • Sitemap Configuration:
    • Exclude /events/* from the sitemap in next-sitemap.config.js to prevent indexing of no-index sub-pages.

This description was created by Ellipsis for d1809bd. It will automatically update as commits are pushed.

Copy link

vercel bot commented Dec 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
langfuse-docs ✅ Ready (Inspect) Visit Preview Dec 20, 2024 8:31pm

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Dec 20, 2024
@marcklingen
Copy link
Member

good idea, required the * to work, just tested it locally

fyi, we still need the noIndex frontmatter tag on new pages as otherwise the pages might show up in search when they are referenced somewhere else

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 20, 2024
@marcklingen marcklingen added this pull request to the merge queue Dec 20, 2024
Merged via the queue into main with commit a875ec8 Dec 20, 2024
7 checks passed
@marcklingen marcklingen deleted the edit-sitemap branch December 20, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants