Solved with:
add_filter( 'category_link','append_parameter', 10, 2 );
function append_parameter( $link, $my_parameter ) {
$my_parameter = $_GET['sort']; //get sort value
if ( isset($my_parameter) ) {
$link = add_query_arg( 'sort', $my_parameter, $link );
}
return $link;
}
Hello #esmi. Yes, I tried all this things. This happened after a problem with my database, because a hosting problem. I tried repair the dabatabase too, but still the same.