• zesseb

    (@zesseb)


    I’m using Polylang and downloaded this plugin because it seems to be the only one compatible with it…

    But nothing works! When I show the sitemap, 99% of pages are not indexed.

    Edit : works fine now!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Rolf Allard van Hagen

    (@ravanh)

    Can you share a link to your sitemap? There might be another plugin running or a static file in your site root.

    Polylang is fully supported so if there is a problem, I invite you to work with me to fix it.

    Thread Starter zesseb

    (@zesseb)

    Thanks for your answer.

    I noticed that the function Core/get_excluded does not work.
    When you call the global $polylang, it seems all is fine, but when you call the function $exclude += $polylang->get_translations('post', $id); all stops.

    I saw that this function should be $exclude += $polylang->get_translations($id); but it also does not work.

    Here is my sitemap

    Thread Starter zesseb

    (@zesseb)

    I found a solution: I replaced each call to $polylang->get_translations in core.php by $polylang->model->get_translations and it seems to work fine now!

    Plugin Author Rolf Allard van Hagen

    (@ravanh)

    Hi zesseb, thanks for your feedback! I’ll look into this ASAP…

    Plugin Author Rolf Allard van Hagen

    (@ravanh)

    Just tested your code and it’s now in the 4.6.2 release. Thanks again!

    Please let me know if you find anything still wrong. And if I may ask: I hope you reconsider your 1 star review? 😉

    Thread Starter zesseb

    (@zesseb)

    I’m glad to have contributed to perform this very powerful plugin! Sorry for my first 1 star review, I would like to rate it with 5 stars now, but I don’t know how to change it?!?

    Thread Starter zesseb

    (@zesseb)

    OK I found! Thank you!

    Plugin Author Rolf Allard van Hagen

    (@ravanh)

    Thanks to your contribution, full Polylang compatibility has been restored! A pleasure to work with you 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Does not work for me with Polylang – Edit : works fine now!’ is closed to new replies.