Support » Plugin: WP-PageNavi » [Plugin: WP-PageNavi] Page Navi adds search query to Page URL /page/2/?s=crap&sbutt=go

  • The Page Navi plugin is generating page URLs with search queries from users at the end, like this:

    domain.com/page/4/?s=SearchQuery&sbutt=go

    A similar issue has been brought up before here, where it was attributed to Google Analytics, malware and / or the Super Cache plugin, but I don’t use Google Analytics and the blog is malware free.

    I do use SuperCache but its developer Doncha believes the problem is with PageNavi.

    This is a real problem because it is constantly changing the URL of the page and therefore is wreaking havoc on SEO.

    Any help will be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author scribu

    (@scribu)

    The PageNavi plugin does not contain any code that can generate something like that, so it’s most likely caused by another plugin.

    To prove it, remove the wp_pagenavi() call from your theme and replace it with next_posts_link() and previous_posts_link().

    Thread Starter bolonki

    (@bolonki)

    Thank you Scribu for your reply.

    Removing Pagenavi and restoring the default previous/next system *got rid of the problem*, so it seemed your suggestion backfired. But I still want to use PageNavi because I want page numbers, not back and forth links.

    Regards

    Plugin Author scribu

    (@scribu)

    Ok, fair enough. Did you try re-installing a fresh copy of the plugin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-PageNavi] Page Navi adds search query to Page URL /page/2/?s=crap&sbutt=go’ is closed to new replies.