• Hello! Thanks for the great plugin! I have a small problem. I use Plolylang along with your plugin and everything works fine. However, when the filter is running, a URL like /cars/class/sedan/ is generated and when I switch to Russian the URL should be like ru/cars/class/sedan/ but when I change the language it redirects me to the main page.

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi!
    Apologies for a long overdue answer! Thanks for your patience.

    The short answer here is that I don’t think it’s really possible. The reason for this is that what BTF actually shows is an archive page with parameters like ?posttype=my-post-type&taxonomy=term&taxonomy2=term2 but in a nice way using custom permalink rewrite rules.

    So if Polylang don’t recognise that this is an archive of the post type, it’s not something BTF can fix. Note also that I think there’s settings in Polylang to control these things.. for one, you need to ensure your post type is “translated”.

    By Polylang compatible what that means is that BTF honours what polylang sets as the “language specific base url”. So for example this ru/cars/class/sedan/ should work as a URL. But I’m afraid BTF cannot control how Polylang redirects between these archives on each language.

    Hopefully you found a solution in this time?

Viewing 1 replies (of 1 total)
  • The topic ‘URL Redirection with Plolylang’ is closed to new replies.