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

Auto redirect affecting the Contact page #1050

Open
lucpretti opened this issue Jan 9, 2024 · 0 comments
Open

Auto redirect affecting the Contact page #1050

lucpretti opened this issue Jan 9, 2024 · 0 comments
Assignees

Comments

@lucpretti
Copy link
Contributor

Our contact page URL is https://okfn.org/contact – this is the only page with the contact form enabled. Most pages in the website (including the footer) link directly to this URL.

After the multilingual implementation, sometimes the system automatically adds the /en/ to the URL, leading to a blank page https://okfn.org/en/contact. That also happens when users access the correct URL directly (by copying and pasting to the browser).

There are two possible solutions:

  • Develop a contact form plugin to be added to a Contact page using the Default layout template (best one considering that we could load forms in different languages and also different forms for purposes other than the Contact page)
  • Prevent the system from auto redirecting for this specific page, making a kind of "hard URL" that always loads /contact without the language differentiation.
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

No branches or pull requests

2 participants