Home › Forums › Newsletter Plugin Support › Error in redirection after subscribing
- This topic has 22 replies, 4 voices, and was last updated 1 week, 1 day ago by fatka.
-
AuthorPosts
-
March 6, 2019 at 6:23 pm #158214secoParticipant
Hi
I have 2 versions of the website using polylang. I’ve installed Newsletter and translated all messages into Spanish.
When I go to the Spanish version and click subscribe it show the Spanish text correctly, but it goes to the (/) the English version instead of (/es) the Spanish version.
How to preserve the Spanish version (/es) after clicking subscribe?Regards,
March 10, 2019 at 11:32 am #158887irmenParticipantHi,
I have the same problem!
You didnt get an answer yet?All the best, Irmen
April 3, 2019 at 10:44 am #164516StefanoKeymasterHi, if you have a translated version of the Newsletter dedicated page (set on main settings), you should get addressed to the /es page version.
Stefano.
June 1, 2020 at 3:07 am #253126andresumanParticipantSame problem. I configured in 2 languages (english and portuguese), have 2 newsletter pages but after submit, always the english version is returned. I cannot configure diferente Dedicated Pages using WPML because when i set the page in portuguese, the configuration in English is lost and vice versa.
June 1, 2020 at 3:29 am #253127andresumanParticipantSorry, i use Polylang and not WPML. Maybe, its a bug in Polylang integration. Could you help @Stefano?
June 8, 2020 at 11:40 am #253415AnonymousInactiveI can confirm the problem as well. 🙁
Latest WP, latest Newsletter, latest Polylang.
I have followed the Multilang documentation, multiple widgets, linked newsletter sites, but still not working.July 17, 2020 at 4:37 pm #255991andresumanParticipantLooks like was fixed in latest version, thank you!
The only issue is when you use Lists, there is no option to translate the word “Lists” in profile form.January 17, 2021 at 12:06 pm #265241AnonymousParticipantHi, i am having the same issue: when registering with my english newsletter form, I still get redirected to the german page (with german text)
Also, in the main configuration my german settings are deleted when i save english settings for the dedicated page. Of course, i already created a dedicated page for english and tried to link it in the main configuration.
I am using Version 7.0.2 with WP 5.6 and Polylang 2.9.1
November 4, 2024 at 4:05 pm #335047fatkaParticipantHi, facing the same problem my website is in french and english but when I’am doing the subscription in english, I’am redirected to the French version. It’s my third day on this matter I don’t know what to do
November 4, 2024 at 4:10 pm #335048StefanoKeymasterHi do you have a notice on the admin side about the missing public page setting for one or more of your languages?
November 4, 2024 at 4:12 pm #335050fatkaParticipantHi thanks for your reply ! No I don’t have this message. I’am using Polylang plug-in for the switch between french and english
November 4, 2024 at 4:19 pm #335051StefanoKeymasterOk, so the public pages should be set correctly. You can check it by going to the blog pages list, set “all languages” and see if there are pages with the note from our plugin “used by newsletter…”.
November 4, 2024 at 4:21 pm #335052StefanoKeymasterAnother thing to check: is the Newsletter plugin updated to the latest version? We change something about the multilanguage management (specifically for WPML) but it could positively affect even Polylang.
Anyway I test is even with polylang to see if a similar change is needed even for that plugin.November 4, 2024 at 4:33 pm #335053fatkaParticipantYes the plug-in is updated. So I did the verification and I do not have this wording “used by newsletter..” I only have this wordings
– for the french version : Newsletter public page, keep public and published – Français
-for the english version : Newsletter public page, keep public and published – English, All languages fallbackNovember 4, 2024 at 4:36 pm #335054StefanoKeymasterOk, that is correct. Could you share the page where the subscription form is published? If could be a problem of the language in the subscription form (we see that problem with some themes and the widget cached by the theme and not generated correctly for each language).
November 4, 2024 at 4:39 pm #335055fatkaParticipantOh ok ! Please find below the links
for french : https://auma.org/newsletter/
for english : https://auma.org/en/newsletter-welcome/thanks
November 4, 2024 at 4:53 pm #335058StefanoKeymasterHi, just tested and it works for me. Registered address test @ thenewsletterplugin.com. Could be you’re using an already registered email and that subscriber has the language set to FR?
November 4, 2024 at 5:09 pm #335059fatkaParticipantOh I don’t understand … I’ve tried again same scenario but reverse now.
When I am on the French version and I am doing the subscription, I am redirected to the English version of the website. I don’t know if it’s link, but the only changement that happen is that I’ve set the “all languages fallback” on the english page and not the french one. When the “all languages fallback” is set on french, the redirection will be on the french page despite the fact that the subscription form is in english. Likewise, when the “all language fallback” is set on the english page, the french subscription redirect to the english version of the websiteNovember 4, 2024 at 8:01 pm #335065StefanoKeymasterFor your tests, are you using the widget on the bottom of the page? Since that’s not a form generated by Newsletter and there the language hidden field is wrong (it is set with the WP_LANG).
November 4, 2024 at 9:40 pm #335067fatkaParticipantYes I’am using that one. I’ve tried the one on the plug-in but I have the same issue unfortunately. The one below. I tried to replace the nlang value by en-GB, en, fr, fr-FR and did 2 different form but this not resolve the issue :
<div class=”tnp tnp-subscription “>
<form method=”post” action=”https://auma.org/wp-admin/admin-ajax.php?action=tnp&na=s”>
<input type=”hidden” name=”nlang” value=””>
<div class=”tnp-field tnp-field-email”><label for=”tnp-1″>E-mail</label>
<input class=”tnp-email” type=”email” name=”ne” id=”tnp-1″ value=”” placeholder=”” required></div>
<div class=”tnp-field tnp-privacy-field”><label><input type=”checkbox” name=”ny” required class=”tnp-privacy”> By checking this box, I accept the privacy policies.</label></div><div class=”tnp-field tnp-field-button” style=”text-align: left”><input class=”tnp-submit” type=”submit” value=”S’abonner” style=””>
</div>
</form>
</div>November 5, 2024 at 10:43 am #335099StefanoKeymasterIn the form above the language is not set, it should be set as “en” or “fr”.
November 5, 2024 at 11:20 am #335102StefanoKeymasterJust tested the standard form on the links you shared with two email addresses (you can delete them from your database now) and the redirect is correct.
November 5, 2024 at 11:46 am #335104fatkaParticipantYes, I’ve tried this on the French and English versions by personalizing the form the result was still the same. But now everything works great by using the native code ! The issue is somewhere on the personalize code I’ve implemented based on the native. Thanks for your help !
-
AuthorPosts
- You must be logged in to reply to this topic.