• Ced

    (@cedriccharles)


    Hello there,

    First of all, thank you for your great plugin.

    I have a weird issue on a WordPress website (Multisite). Occasionally, pages that should be using a custom template or a WP template (like archive.php) starts using index.php instead. I have to go into the permalinks settings and simply save them (without even changing them). The problem comes back randomly but quickly enough (a few hours)…

    Here is the structure of my multisite:

    Main site (4 languages):
    FR: https://example.com/
    NL: /nl/
    EN: /en/
    DE: /de/

    Site 2 (4 languages):
    FR: https://site2.example.com/
    NL: /nl/
    EN: /en/
    DE: /de/

    Site 3 (1 language):
    FR: https://site3.example.com/

    I’m using Polylang Pro for multilingual.

    I have installed the “Query Monitor” plugin. When the problem appears on the news listing for example (/actualites), I notice by analyzing the queries that WP is looking for the language “news” instead of the page “news”:?https://snipboard.io/UBPbwj.jpg

    I’ve installed the “Rewrite rules inspector” plugin and, when the bug appears, I’ve noticed this rewrite which causes the bug:

    ([^/]+)/?$ => index.php?lang=$matches[1]

    I’ve achieved to reproduce the bug: when I go to Polylang Pro settings and just save them (without changing anything), the issue appears (so the bad rewrite rule appears). If I go to the permalinks settings and simply save them (without even changing them), the issue disappears.

    But if I try to reproduce the issue with “Awesome Support” disabled, the issue never came back! So the source of the issue is your plugin :s

    Thanks in advance,
    Ced

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jawad Ahmed

    (@jawada)

    Hello Ced,

    Thank you for your message and your kind words about our plugin. We appreciate your feedback and your detailed description of the issue.

    We are sorry to hear that you are experiencing a weird issue with our plugin and Polylang Pro on your multisite website. It seems like there is a conflict between the two plugins that causes the rewrite rules to change and affect the page templates.

    While i check this with the team one solution could be to disable the “Hide URL language information for default language” option in Polylang settings. This option may cause some problems with the rewrite rules and the detection of the default language.

    You can also check our documentation for polylang setup.

    https://getawesomesupport.com/documentation/awesome-support/polylang-setup-awesome-support/

    Thank you for your patience and understanding. We apologize for any inconvenience caused by this issue.

    Regards,

    Thread Starter Ced

    (@cedriccharles)

    Ola Jawad ?? !

    Thank you for your quick answer ?? !

    one solution could be to disable the “Hide URL language information for default language” option in Polylang settings.

    Unfortunately, this is not a solution. It will change all my URLs and the site SEO will be badly impacted.

    I’m sure your team can correct that weird behavior ?? !

    Kind regards,

    Cedric

    Thread Starter Ced

    (@cedriccharles)

    Hello there!

    Have you received my last reply? The bug is very annoying…

    Kind regards,

    Cedric

    Plugin Author Jawad Ahmed

    (@jawada)

    Hi,

    I am checking this with Development team, and I will update you ASAP.

    Regards

    Thread Starter Ced

    (@cedriccharles)

    Hello Jawad!

    I hope you are doing well? Have you got some news on this? It’s really annoying…

    Kind regards,

    Cedric

    Thread Starter Ced

    (@cedriccharles)

    Hello @Jawad Ahmed !

    Any news on this? I continue to face the issue and it’s really annoying…

    Kind regards,
    Cedric

    Thread Starter Ced

    (@cedriccharles)

    Hello! Is there someone in here???

    Thread Starter Ced

    (@cedriccharles)

    Hello ?????

    Witness here the awesome support of “awesome support”.
    Yeah, really awesome.

    Plugin Author Jawad Ahmed

    (@jawada)

    Hello @cedriccharles,

    We sincerely apologize for any inconvenience caused. To further address this issue, I’ve consulted with the relevant team. Regrettably, we currently do not have access to Polylang Pro. In order to provide adequate assistance, we would require access to an instance where the Polylang Pro plugin is available. This may entail purchasing an add-on or obtaining a token ticket. With that you will have the priviliages to open a ticket on our dedicated support forum for Awesome support and out team will speed up with the assistance.

    Thank you for your understanding.

    Warm regards,

    Thread Starter Ced

    (@cedriccharles)

    Hello there,

    Thanks you. I can help you with that. Can we continue be email?

    Plugin Author Jawad Ahmed

    (@jawada)

    Hi @cedriccharles

    I hope you are doing well. Did you have a chance the review my last reply to you? Here you go again

    We appreciate your willingness to collaborate. Regrettably, we do not provide complimentary personalized assistance to non-premium users via email. However, you have the option to acquire our one-time support ticket for assistance with this particular issue.

    https://getawesomesupport.com/addons/priority-support-request/

    I hope this will help, if you have any questions, we are here to assist.

    Regards

    Thread Starter Ced

    (@cedriccharles)

    Hello Jawad,

    Maybe you can contact developers of Polylang Pro to have a working version in order to make your plugin fully compatible with them (as it’s a plugin that is widely used).

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Rewrite rules issues with Polylang Pro’ is closed to new replies.