Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
# /guides/*/ -> :splat, etc.) were removed: they contradicted 'always' and were
# already shadowed dead by the directory assets (the slash URL serves 200).

# Privacy: hard 301 directly to /privacy-policy
# (replaces a previous Astro redirect that emitted a noindex meta-refresh stub
# flagged by GSC as "Excluded by 'noindex' tag")
/privacy/ /privacy-policy 301!
/privacy /privacy-policy 301!
# Privacy: 301 the /privacy alias to the real page. Target MUST be the
# trailing-slash URL: Cloudflare serves the page at /privacy-policy/ (the
# directory asset); a redirect target of /privacy-policy (no file at that exact
# path) does not resolve and 404s, which is why the old rule never fired.
/privacy/ /privacy-policy/ 301
/privacy /privacy-policy/ 301

# Sitemap redirect (Astro generates sitemap-index.xml)
/sitemap.xml /sitemap-index.xml 301
4 changes: 3 additions & 1 deletion src/components/common/CookieConsent.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
<p class="text-sm text-[var(--color-subtle)]">
We use cookies to analyze traffic and show relevant ads. By clicking "Accept", you consent
to our use of cookies.
<a href="/privacy" class="text-[var(--color-accent)] hover:underline">Learn more</a>
<a href="/privacy-policy/" class="text-[var(--color-accent)] hover:underline"
>Learn more</a
>
</p>
</div>
<div class="flex gap-3 w-full md:w-auto">
Expand Down
5 changes: 3 additions & 2 deletions src/pages/contact.astro
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@ const description =
<h3 class="text-[var(--color-cream)] font-medium mb-2">Is my data safe?</h3>
<p class="text-sm text-[var(--color-subtle)]">
Yes! All calculations happen in your browser. We never see, store, or transmit your
data. Read our <a href="/privacy" class="text-[var(--color-accent)] hover:underline"
>Privacy Policy</a
data. Read our <a
href="/privacy-policy/"
class="text-[var(--color-accent)] hover:underline">Privacy Policy</a
> for more details.
</p>
</div>
Expand Down
Loading