• Hi,

    I might have found a bug as the pagination on my homepage does not work.
    My home page is actually doing a query_posts() on a post custom type and the first page works as expected but when I click on the next/older navigation link then the page url becomes ?lang=en&paged=2 and this is trying to render an archive page instead of my static home page.

    Cheers,

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

Viewing 15 replies - 1 through 15 (of 33 total)
  • Thread Starter Nico

    (@nikospkrk)

    It seems to only be working when the checkbox “Redirect the language page (example: https://website/en/) to the homepage in the right language” is not checked.

    Plugin Author Chouby

    (@chouby)

    I believe I understand what happens.

    However I do not understand what result you would expect from older navigation link on a static home page. Could you explain ?

    Thread Starter Nico

    (@nikospkrk)

    Food news then.

    Sure, I just expect the url to append ‘page/2’ (and so on). At the moment, from ‘/en/’ I go to ‘/en/page/2’ which it ending on the archive page template and not on the homepage any more.

    Thread Starter Nico

    (@nikospkrk)

    *Good news
    *which is ending

    Plugin Author Chouby

    (@chouby)

    Food is sometimes Good…

    Could you try with the development version (Should have the version 0.8.7.4, only bug corrections compared to 0.8.7)? I made some changes which should correct this bug.

    Thread Starter Nico

    (@nikospkrk)

    Spot on!
    Just need to roll it out now, thanks!

    Thread Starter Nico

    (@nikospkrk)

    ps: yeah, I would even say that most of the time food is good ??

    Thread Starter Nico

    (@nikospkrk)

    I’m reopening it as I just noticed that now my archives links (eg. ‘/en/2012/06’, …) redirect to the homepage instead of the actual archive page.
    I reckon there’s a great chance it’s linked to the issue you’ve resolved above.

    Hey, just joined the party…

    In my site, I have EN, IT, DE and ES.

    site/de/ for example redirects to a different page (not DE root!) in 302

    same in all languages. site/language/ redirects to a page that is not a translation of the EN root (site/)

    Please advise

    Thanks!

    Also tried rollback to version 0.8.6, didn’t work

    Maybe the only solution is to reinstall wordpress & the plugins?

    I hope this can be sorted out, I don’t want to kill my site

    Thread Starter Nico

    (@nikospkrk)

    @disconnect: I believe your issue is totally different so you’d be better off creating a new topic for it.

    @chouby: any luck on the archive (‘/en/2012/06’) pages showing the homepage instead? Cheers.

    10x

    Thread Starter Nico

    (@nikospkrk)

    Just noted that the homepage pagination bug is happening on the other pages as well (archives, blog, …). It’s just redirecting to the 404 template instead of going to the appropriate file.

    Cheers

    Plugin Author Chouby

    (@chouby)

    @nikospkrk

    I made a quick modification to the dev version (0.8.7.5). Hopefully, this time it should work correctly.

    Thread Starter Nico

    (@nikospkrk)

    @Choubby
    The Archive page is not redirecting to the homepage anymore and it’s displaying the posts form the specified month as expected but the pagination is not. My second page on a tag (eg. /tag/css/page/2/) is just showing the 404 template instead.

    Thanks for trying to solve my issue!

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘[Plugin: Polylang] Homepage pagination bug’ is closed to new replies.