Viewing 1 replies (of 1 total)
  • Thread Starter wep6ak

    (@wep6ak)

    I found bad way to resolve this issue.
    Warning! This method is dangerous.
    I modified the code in /wp-content/plugins/search-filter/search-filter.php:
    On line 869 I just commented out code:

    /* if(get_option('permalink_structure')&&($taxcount==0))
    {
        $key_taxonomy = get_taxonomy( $key );
    
        $tax_path = $key."/".$taxs."/";
        if((isset($key_taxonomy->rewrite))&&(isset($key_taxonomy->rewrite['slug'])))
        {
            $tax_path = $key_taxonomy->rewrite['slug']."/".$taxs."/";
        }
    
        $this->urlparams .= $tax_path;
    }
    else */

    Now my URLs appear as I want.

    If someone know better way to do it please inform me REDACTED

    • This reply was modified 8 years, 2 months ago by wep6ak.
    • This reply was modified 8 years, 2 months ago by Jan Dembowski.
Viewing 1 replies (of 1 total)
  • The topic ‘URL rewriting’ is closed to new replies.