Pagination doesn't work in query post in tag template

In tag template I use the following query post:

                global $query_string; // required
                $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
                $posts =                    query_posts($query_string.'posts_per_page=5cat=-93paged=' . $paged);  

                if ( have_posts() ) :

                    /* Start the Loop */
                    while ( have_posts() ) : the_post();

                (content)
                endwhile;
                endif;
                wp_reset_query(); // reset the query 

                the_posts_pagination( array( 'prev_text' = 'prev', 'next_text' = 'next' ) );

This is to have the post from current tag but exclude one category and show 5 post per page. But this query post the navigation doesn't work.

I added also the string for 'paged' but nothing changes.

Topic template-tags navigation query-posts Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.