• Resolved rconnard

    (@rconnard)


    Hello Chouby,

    Thank you for your plugin and you are just one resolution away from another donation!

    I’ve created a site in English, Georgian, Turkish, and Russian and have been very pleased with the plugin.

    However, SOMETIMES when visiting the homepage

    https://www.portabatumitower.com

    it redirects to

    https://www.portabatumitower.com/ka (georgian)

    but since I have no content here, the page is blank (and this is confusing to me why it’s not a 404 error)

    The home page is a language picker, so I want all users to be directed to it, but for some reason Polylang is adding this /ka

    I’ve specified my settings:
    – lang set from content
    – remove /lang/
    *all else unchecked

    Please help, this is urgent as people cannot access our site at all!

    https://www.ads-software.com/plugins/polylang/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter rconnard

    (@rconnard)

    The problem only appears after a user has browsed to the site, selected a language, and then tries to return another time. When they go to https://www.portabatumitower.com they are redirected to /tr or /ka or whatever language they previously selected.

    Erasing cookies solves the problem, but it must be done after every visit!

    Plugin Author Chouby

    (@chouby)

    It may be the result of a fatal error on server side.
    Try setting WP_DEBUG to true in wp-config.php

    Thread Starter rconnard

    (@rconnard)

    Chouby, thanks for your quick response.

    Okay, tried that and this is what came up on /ka

    Strict Standards: Declaration of plugin_findreplace::addPluginSubMenu() should be compatible with mijnpress_plugin_framework::addPluginSubMenu($title, $function, $file, $capability = 10, $where = ‘plugins.ph…’) in /home/wordsmith39/public_html/wp-content/plugins/find-replace/find_replace.php on line 18

    Strict Standards: Declaration of plugin_findreplace::addPluginContent() should be compatible with mijnpress_plugin_framework::addPluginContent($filename, $links, $file, $config_url = NULL) in /home/wordsmith39/public_html/wp-content/plugins/find-replace/find_replace.php on line 18

    Strict Standards: Non-static method mijnpress_plugin_framework::is_admin() should not be called statically in /home/wordsmith39/public_html/wp-content/plugins/find-replace/find_replace.php on line 63

    Notice: WP_User->id was called with an argument that is deprecated since version 2.1! Use WP_User->ID instead. in /home/wordsmith39/public_html/wp-includes/functions.php on line 3006

    Notice: Undefined index: page in /home/wordsmith39/public_html/wp-content/plugins/xcloner-backup-and-restore/xcloner.php on line 122

    Notice: Undefined index: query in /home/wordsmith39/public_html/wp-content/plugins/simple-mobile-url-redirect/mobile-redirect.php on line 137

    Notice: Undefined property: WP_Query::$post in /home/wordsmith39/public_html/wp-content/plugins/lightbox-plus/lightboxplus.php on line 196

    Notice: Trying to get property of non-object in /home/wordsmith39/public_html/wp-content/plugins/lightbox-plus/lightboxplus.php on line 196

    Anything look troublesome?
    By the way, just installed 1.4.4 and looks like you mentioned an update similar to what I described here but it didn’t fix the redirect for us.

    Thanks again!

    Thread Starter rconnard

    (@rconnard)

    Chouby I’m sorry to bug you but did you get the chance to look at this. I really would appreciate your help resolving it!

    Plugin Author Chouby

    (@chouby)

    Are you using the latest version of Polylang?
    Are you using a static front page?
    If yes, did you translate it?
    Did you check the option “Detect browser language” in Polylang settings?

    Thread Starter rconnard

    (@rconnard)

    I just saw the upgrade to 1.4.5

    Now I’m running 1.4.4 – not sure if you’ve done something with the update to take a stab at fixing this, or if it’s specific to just me :-/

    I will backup my database as you recommend and upgrade. Do you think that will fix it?

    I’m using a static front page but Polylang is not involved with it. It’s an HTML page I coded that doesn’t involve any WP PHP.

    Detect Browser Language is unchecked.

    Thread Starter rconnard

    (@rconnard)

    I just upgraded and the problem is still there. Clients are breathing fire ??

    Plugin Author Chouby

    (@chouby)

    I’m using a static front page but Polylang is not involved with it. It’s an HTML page I coded that doesn’t involve any WP PHP.

    That’s your problem. Polylang expects a native WordPress front page. And if it is a static front page, it expects it to be translated in every languages.

    Thread Starter rconnard

    (@rconnard)

    That fixed it. I added translations and it works like a charm. Thank you for your help. I’ll happily make a donation on Monday ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Polylang Redirects to Blank Homepage’ is closed to new replies.