Repository navigation
fix: point sitemap and QA redirect to weirdanimals.net - #10
Merged
Merged
Conversation
weirdanimals.life expired and was replaced by weirdanimals.net (Cloudflare, same backend). Update the sitemap generator BASE_URL so the generated sitemap's <loc> entries use the live domain, the QA /qa-30x redirect fixture (REDIRECT_LOCATION), and the README sitemap link. Fixes the deployed sitemap still listing dead .life URLs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
✅ Deploy Preview for weirdanimals ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The old domain
weirdanimals.lifeexpired (Name.com auto-renewal lapse) and the team moved the test site toweirdanimals.net(Cloudflare, same backend). Peter repointed DNS, but the site content still had the old domain baked in — the generatedsitemap.xmllistshttps://weirdanimals.life/...URLs (now dead/NXDOMAIN), so anything crawling it (including the monostack e2e sitemap tests) chases dead links. Per the team thread, the content fix lives in this repo.What
src/plugins/sitemapPlugin.js—BASE_URL→https://weirdanimals.net, so the generated sitemap's<loc>entries use the live domain (regenerates on the next Netlify build/deploy).netlify/functions/qa-code.ts—REDIRECT_LOCATION(the/qa-301…/qa-308redirect target) →https://weirdanimals.net/, plus the example URL in the header comment.README.md— the sitemap link →.net.No
weirdanimals.lifereferences remain in source.Note
The monostack test side is already fully on
weirdanimals.net(merged). After this deploys,weirdanimals.net/sitemap.xmlwill serve.net<loc>s.🤖 Generated with Claude Code