Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Localized redirects not working for /help and /ways-to-give #1770

Closed
3 tasks done
danielfmiranda opened this issue Dec 12, 2023 · 1 comment · Fixed by #1771
Closed
3 tasks done

Localized redirects not working for /help and /ways-to-give #1770

danielfmiranda opened this issue Dec 12, 2023 · 1 comment · Fixed by #1771
Assignees
Labels

Comments

@danielfmiranda
Copy link
Collaborator

danielfmiranda commented Dec 12, 2023

Since we have implemented the "Donate Help" and "Ways to give" page on foundation.mozilla.org, we have added redirects on the wagtail instance of this site so users who visit /help and /ways-to-give on donate.mozilla.org are redirected to the new pages on the foundation site.

However, stakeholders have found that URLs with language codes (for example: donate.mozilla.org/en-US/help) are not being redirected.

To resolve this for now, we should preform the following:

  • Delete the existing help page on donate.mozilla.org
  • Remove/comment out the ways to give view in the donate stack repo
  • Update the redirect page to include redirects for all languages supported by foundation.mozilla.org
    For example:
    - donate.mozilla.org/es/help should now point to -> foundation.mozilla.org/es/donate/help
    - donate.mozilla.org/es/ways-to-give should now point to -> foundation.mozilla.org/es/donate/ways-to-give

The redirects should be set up for the following languages:

  • en
  • de
  • es
  • fr
  • fy-NL
  • nl
  • pl
  • pt-BR
@danielfmiranda danielfmiranda self-assigned this Dec 12, 2023
@danielfmiranda danielfmiranda changed the title Localized redirects not working Localized redirects not working for /help and /ways-to-give Dec 12, 2023
@danielfmiranda
Copy link
Collaborator Author

The ways to give page has been removed thanks to #1771, and redirects have been implemented for the language codes listed above, as well as the following legacy language codes:

Redirecting to /en/help and /en/ways-to-give:

  • en-US
  • en-AU
  • en-CA
  • en-GB
  • en-NZ

Redirecting to /es/help and /es/ways-to-give:

  • es
  • es-MX
  • es-XL

This ticket can now be closed!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant