Multilanguage Ask question 404 error!

Solved4.06K viewsIssues
0

Hi!
I have installed AnsPress + WPML and everything is working fine. I have an issue appears when I ask question on different language for example when I ask from this URL: mydomain/ar/questions/ask the created question goes to 404 page because the result URL is: mydomain/question/single_question. It does not add the language directory /ar/ after domain. When I add it manually into URL the question is working fine.
Would you please help me to redirect the questions to its page based on the selected language?
Kind Regards,
Anas

Question is closed for new answers.
Selected answer as best