• Resolved ???? ????

    (@vandanojan)


    Hello,

    I am having an issue with the after-login redirection in the WPDM plugin. The expected behavior is to redirect users to the page they were on before logging in. However, I have noticed that when the URL contains non-English slugs, specifically Farsi slugs, it leads to a 404 error. For instance, if my URL appears as “example.com/download/[non-English slug],” it is transformed into “example.com/download/” or “example.com/download/—-/” after logging in.

    I kindly request your assistance and guidance in resolving this issue.

    Thank you in advance for your support.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @vandanojan

    Greetings for the day.

    We have tested your reported issue and it’s not occurring on our end.

    So, can you please try creating a new page with a Farsi title for example: ??? ???? to check whether a similar issue is appearing or not?

    Regards

    Thread Starter ???? ????

    (@vandanojan)

    Thank you for your quick response. I did so, but unfortunately, the issue still persists. I also deactivated all other plugins and switched to the default twenty twenty-three theme, but the problem continues to occur. I noticed that there are no error messages being displayed in the console or in the debug.log file.

    Thread Starter ???? ????

    (@vandanojan)

    The only temporary solution I found for the issue was to add an English slug at the beginning of the Farsi-slug URL. For instance, I replaced the original link: ‘example.com/download/???-????’ with this modified link: ‘example.com/download/hi-???-????’

    Hi @vandanojan

    Thank you for writing back to us.

    I have tested by following the above slug structure and it worked well for me.

    Here’s the test URL: https://wpdm.durnibar.com/download/???-????/

    Regards

    Thread Starter ???? ????

    (@vandanojan)

    Thank you @mrshuvo . In your example, access has been granted to “all visitors,” so there would be no redirection after logging in. Would you mind changing the access level to “subscriber” or “admin” to see if the redirection process works for you well?

    Hi @vandanojan

    I have tried after changing the access level and it worked as well.

    Please have a look at this: https://www.loom.com/share/d7220b9f482f4aa5b3291938a0d46dc8?sid=4fed38f8-52e3-4876-8e98-4286a2f7fb30

    Regards

    Thread Starter ???? ????

    (@vandanojan)

    Hi @mrshuvo,

    Thank you for your time. To better explain my issue, I need to mention that I have enabled the modal popup, which uses the following code for redirection:

    <a href="https://localhost/wpdm/wp-login.php?redirect_to=[this_url]" class="btn btn-danger wpdmloginmodal-trigger btn-sm"> Login</a>

    I have tested your plugin on a fresh WordPress installation on my localhost, with no other plugins except yours. Here is the problem that occurs:

    https://www.veed.io/view/5668522b-fc4e-4d97-ae2e-5fbffa8555a2?sharingWidget=true&panel=share

    Hi @vandanojan

    Thank you for sharing the screencast.

    We have found the issue and hopefully, it will be adjusted with the future update.

    With Regards

    Thread Starter ???? ????

    (@vandanojan)

    Thank you very much, now the bug has been fixed in your latest release.

    With regards

    Hello @vandanojan

    You are welcome and glad to hear that.

    However, If you get some free moments, please give us a 5* here and add your valuable review about our plugin.
    Your rating keeps us inspired.

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Redirect Problem with Non-English URL Slugs’ is closed to new replies.