Google Search Showing `/donate` as Canonical URL Instead of `/sponsor`
While reviewing search results for “Eclipse Sponsorship”, I noticed that Google is showing the correct content, but using /donate
as the canonical URL instead of /sponsor
.
After investigation:
-
/donate
currently redirects to/sponsor
using a 302 temporary redirect - As a result, Google is indexing
/donate
as canonical because it's a temporary redirect:
https://search.google.com/search-console/inspect?resource_id=sc-domain%3Aeclipse.org&id=RfofugLk4O5yn1zKFL_Sqg
Recommendation:
I believe we should update the redirect to a 301 (permanent) redirect so that search engines treat /sponsor
as the canonical URL going forward.
If my recommendation is successful, we should consider using 301 redirects by default when deprecating legacy URLs to help Google update its index accordingly.
Edited by Christopher Guindon