• Hi there,

    I’m trying to migrate my blog from WPML to Polylang 0.5.1 with WP 3.3.
    The blog is bilingual, and the permalink format of the links is
    English: domain//2011/12/22/sample-post/
    Hungarian: domain/hu/2011/12/22/sample-post/

    With WP Permalinks set to Day and Name, Polylang Settings for pretty permalinks don’t change the URL. I thought choosing
    Remove /language/ in pretty permalinks
    and
    Hide URL language information for default language
    would result in the permalink structure I needed, but either I don’t do something right or I misunderstood how it’s supposed to work.
    Could you help me with this?

    Thanks
    Balazs

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chouby

    (@chouby)

    It seems that you did everything right. But Polylang does not implement things the same way WPML does. The language information is added only when it is needed. As it is not needed for posts or pages, you get:
    English: domain/2011/12/22/sample-post-in-english/
    Hungarian: domain/2011/12/22/sample-post-in-hungarian/

    The language information is needed for archives. So you get:
    English: domain/2011/12/
    Hungarian: domain/hu/2011/12/

    It is also needed for the home page of course…

    So in your case, if you do not want to break links, you will have to implement permanent redirection to make point domain/hu/2011/12/22/sample-post-in-hungarian/ to domain/2011/12/22/sample-post-in-hungarian/

    Thread Starter rocco42

    (@rocco42)

    OK, thanks for the answer.
    Then I’ll look into regular expressions, and try to define a redirect rule that redirects all domain/hu/post links to domain/post.

    Plugin Author Chouby

    (@chouby)

    If it’s not indelicate, what decided you to switch from WPML to Polylang ?

    Will you migrate manually or try to do things automatically playing with databases ?

    Thread Starter rocco42

    (@rocco42)

    WPML is overkill for my simple blog, and it slows it down. (still on wp3.0 with free wpml)
    A lightweight solution like Polylang sounds much better.
    I’ve installed wp3.3 with polylang on localhost with wamp, and now I wanna see if I can set up the blog the way I want it.

    Plugin Author Chouby

    (@chouby)

    OK. I guess that you already know, but just in case, take care that polylang does not work at all on WP 3.0. So you will be obliged to update WP before installing Polylang, which will breaks the free WPML.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Polylang] Permalinks not working’ is closed to new replies.