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: add robots.txt #68

Merged
merged 4 commits into from
Jun 13, 2024
Merged

feat: add robots.txt #68

merged 4 commits into from
Jun 13, 2024

Conversation

jasonbahl
Copy link
Contributor

this adds a robots.txt and sitemap

- add postbuild command to build sitemap
- add next-sitemap.config.js
- add wordpress-sitemap.xml.js
@jasonbahl jasonbahl requested a review from josephfusco June 12, 2024 20:37
@jasonbahl jasonbahl self-assigned this Jun 12, 2024
Copy link

vercel bot commented Jun 12, 2024

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

Name Status Preview Comments Updated (UTC)
acf-wpgraphql-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2024 8:41pm

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
acf.wpgraphql.com preview-env-feat/add-robots.txt N/A ❌ (logs)

Learn more about preview environments in our documentation.

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
acf.wpgraphql.com preview-env-feat/add-robots.txt https://hq…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

Copy link
Member

@josephfusco josephfusco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • /sitemap.xml - working locally
  • /robots.txt - Getting a 404, what is the expectation here? Do I need to add my own robots.txt or is one supposed to be generated in the build?

Copy link
Member

@josephfusco josephfusco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see the robots.txt being added to public. Looks good!

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
acf.wpgraphql.com preview-env-feat/add-robots.txt https://hq…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

@jasonbahl jasonbahl merged commit dbce8f2 into main Jun 13, 2024
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.

2 participants