• Hi,

    I have a new query inside the page.

    When I call wp_pagenavi from https://test.com/net/x-page this adress

    it creates me page adresses like https://test.com/net/x-page/page2
    https://test.com/net/x-page/page3 etc..

    I want to change this adress’s to https://test.com/c/yc/page2
    https://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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Pagination link problem.’ is closed to new replies.