Forums Forums Search & Filter Pro WPML Compatibility, problem filter permalink setting, error 404 not found

Tagged: 

  • This topic has 23 replies, 2 voices, and was last updated 8 years ago by Ross.
Viewing 10 posts - 1 through 10 (of 24 total)
  • Anonymous
    #75705

    Hi,
    I have set all in a language,
    and all works correctly.

    I translate all the Search Form in each language,
    following this link:
    https://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/configuring-with-wpml/

    After have complete the process I not work correctly the search form,
    this in each language.

    I try to change the url in setting, under display result, I found “Set a slug”,
    i found this as not editable url:
    http://www.okcs.it/bancodiprova/?lang=es/
    the editable lable is after this url,
    in my case is “magic”,
    the complete url result is http://www.okcs.it/bancodiprova/?lang=es/magic

    This url not work,
    I found the correct url for see the Sarch form in action is http://www.okcs.it/bancodiprova/magic?lang=es

    I can use this url for see all the post in the page,
    but if i try to change a filter the result is 404,
    an error result is for example:
    http://www.okcs.it/bancodiprova/magic/?lang=es/&_sft_categories-magic=operativas

    I have a problem to change the search & filter pro setting for the permalink.

    Ross Moderator
    #75796
    This reply has been marked as private.
    Anonymous
    #75805

    Yes,
    i can send an email at you…

    I try to create a Search Form not linked whit the other Search Form but the result is the same.
    In the template-page.php I load whit shortcode only the id of Search Form I need,
    but the result isn’t change.

    <?php
    if (ICL_LANGUAGE_CODE==’it’ ) {$id_search = 706;}
    if (ICL_LANGUAGE_CODE==’en’ ) {$id_search = 8436;}
    if (ICL_LANGUAGE_CODE==’fr’ ) {$id_search = 8438;}
    if (ICL_LANGUAGE_CODE==’es’ ) {$id_search = 8441;}
    echo do_shortcode( ‘[searchandfilter id=”‘.$id_search.'”]’ );
    ?>

    Ross Moderator
    #75807
    This reply has been marked as private.
    Anonymous
    #76406

    I Ross,
    I found this link in wplm ad im not sucure about the plugin search-filter-pro,
    https://wpml.org/forums/topic/problem-with-wpml-and-search-filter-plugin-tags-and-categories-wont-work/

    In this link WPML staf say your plugin isn’t compatibility whit you plugin.
    The WPML staf’s say that.

    I try to send all information about my problem by email.
    If your plugin is not compatible whit WPML i change sistem,
    i need this information from you.

    Please ge me an answer.
    Is realy important for me undestand this.

    Ross Moderator
    #76962

    Hi Andrea

    WPML have contacted me and we are looking into the issue. I will update when I know more, hopefully this afternoon.

    Thanks

    Anonymous
    #77009

    Thank you for the answer,
    I have other information for you.
    If I use the configuration whit this permalink strutture (EN: http://www.website.com/en/page) of WPML all seem work.

    In my website i have 4 languages.
    The search and filter work completly only whit 1 language,
    the “all” parameter of the query work in each language.
    But if I click a filter and try to load post not load the post,
    the filter in seem found the correct post,
    I think this because in the search and filter setting, if is visible the count post, the number of post associated to the filter visible, is correct.
    For make visible the post in a language im going to rebuild the cahe in the “search and filter form ita” for example,
    when the proces of building cache is ok, the filter work only in the Italian language.

    For make visible the post in other language i going to rebuild the cahe in the differt language (only one language work completly),
    or to reload all the post in each language in wordpress back-end,
    this second sistem work if i have the cache load from ITA and modify all the post in 1 other lang, Eng for example.
    After this proces i have Ita and eng work completly.
    Whit max 2 language all is ok using this trick.

    If I modify one more lang, for example Espagnol, remaning Ita ok but english is replaced by Esp.

    Is a problem of the cache sistem?
    If i reload the cache in one lenguage and after i change language when the cahe is in loading,
    the other language have the same reload cache in action.
    There is a max number of the post i can use thit the Search an filter plugin?

    Thanks,
    Andrea.

    Ross Moderator
    #77125

    Hi Andrea

    I’ve just sent you an update (email) which should have a fix.. Please test it and let me know.

    Thanks

    Anonymous
    #77184

    I Ross,
    i follow your instruction,
    the beta plugin version work worst than before.
    You can see in action at the follow link:
    Archive page setting: http://www.okcs.it/bancodiprova/prodotti/
    Custom post archive setting: http://www.okcs.it/bancodiprova/magic/
    I have this function in my function.php, i try to remove but nothing change.

    function search_form_title($title){

    global $searchandfilter;

    if ( $searchandfilter->active_sfid() == (9009||90010||90012||90013||9020||9021||9022||9023))
    {
    return ‘Search Results’;
    }
    else
    {
    return $title;
    }

    }

    You receve the mail I send at yor personal mail?

    In this day I send you all the information about my configuration and other information i see about this plugin.

    Please keep me updated.
    Thank you,
    Andrea.

    Ross Moderator
    #77608

    Hi Andrea

    I’m confused, I took a look at your site and it looks like the filters work ok?

    Can you confirm that the new BETA fixes the WPML issue?

    And after this, we can address your next issue.

    Thanks

Viewing 10 posts - 1 through 10 (of 24 total)