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

Have next.js auto generate sitemap.xml #82

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

clementinelove
Copy link
Contributor

@clementinelove clementinelove commented Nov 5, 2024

Close #75
A sitemap is a collection of webpage metadata to help search engine crawlers know when to revisit our website, usually available to crawlers as a single or multiple sitemap XML file(s).

Each webpage metadata contains four fields:

  • location (URL),
  • last modified date
  • update frequency
  • priority (a number from 0.0 to 1.0, 1.0 means most important)

This PR adds all of our web page links (including all blog articles) into our sitemap and should dynamic update upon any call (uncached).
The sitemap will be available under https://www.now-u.com/sitemap.xml
See preview sitemap link: https://now-u-web-git-feature-sitemap-now-u.vercel.app/sitemap.xml

Screenshot 2024-11-05 at 00 48 08

The sitemap will be available under now-u.com/sitemap.xml
Copy link

vercel bot commented Nov 5, 2024

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

Name Status Preview Comments Updated (UTC)
now-u-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 0:48am

@clementinelove clementinelove self-assigned this Nov 5, 2024
@clementinelove clementinelove marked this pull request as ready for review November 5, 2024 00:51
@clementinelove clementinelove changed the title Have next.js auto generate sitemap Have next.js auto generate sitemap.xml Nov 5, 2024
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.

Add site map
1 participant