kiwix / web

Bugs, enhancements, ideas for our Web presence
https://kiwix.org
6 stars 6 forks source link

Homepage - Russian - Contact page reirection incorrect #200

Closed ghost closed 1 year ago

ghost commented 1 year ago

Description: In "Могу ли я просто заказать предварительно заряженную карту или устройство?" section, while clicking on "свяжитесь" it gets redirects in contact page for English language.

Severity: Major

Priority: High

Device, OS and Browser Details: All

Steps To Reproduce:

Expected Result: On clicking on "свяжитесь", respective page should open in the Russian language.

Actual Result: On clicking on "свяжитесь" it gets redirects in contact page for English language.

Screenshot/Video: 218395929-bcbabd32-13a7-4b78-ade5-19c8b47ed73c.webm

savin8305 commented 1 year ago

Expected Result: When clicking on "свяжитесь", the respective page should open in the Russian language.

Actual Result: Clicking on "свяжитесь" redirects to the contact page in English language.

This only occurs when the link is redirected in a new tab, not in the same tab. This issue can be resolved by using a redirect type, such as a 301 permanent redirect in server-side configuration, when the URL is clicked.

Alternatively, we can include the language code as part of the URL for the contact page (e.g. http://www.example.com/ru/contact.html) and ensure that the link for "свяжитесь" points to the Russian contact page URL. This way, when the user clicks on the link, they will be taken directly to the Russian contact page without the need for a redirect type in server-side configuration.

Popolechien commented 1 year ago

Ok the problem is that we didn't have a page in Russian for contact. Fixed now.

savin8305 commented 1 year ago

okay thankyou sir

On Tue, Apr 4, 2023 at 2:07 PM Popo le Chien @.***> wrote:

Closed #200 https://github.com/kiwix/web/issues/200 as completed.

— Reply to this email directly, view it on GitHub https://github.com/kiwix/web/issues/200#event-8921679118, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4GBNF4UC4E45B5WKG6FUXTW7PMVBANCNFSM6AAAAAAU6EDQKM . You are receiving this because you commented.Message ID: @.***>