I have a new query inside the page.
When I call wp_pagenavi from http://test.com/net/x-page this adress
it creates me page adresses like http://test.com/net/x-page/page2
I want to change this adress’s to http://test.com/c/yc/page2
http://test.com/c/yc/page3 to prevent dublicate content. to link it (category)
I found that this adress given by get_pagenum_link( $page ) function from wordpress to the wp_pagenavi.
And get_pagenum_link function uses remove_query_arg to obtain this adress.
But this process being before all query.
So how can I change this adress from net/x-page/page2 to /c/yc/page2
If I cannot solve the problem I will redirect net/x-page/page2 page to the /c/yc/page2 but this will not solve my problem because I want to show page’s content in first page.
Are there any solution