WordPress.org

Support

Support » Plugins and Hacks » Relevanssi - A Better Search » [Resolved] second page error

[Resolved] second page error

  • Just upgraded to WP 3.5 and the latest version of this plugin and now when I do a search on a term it returns the first page of results correctly. However if I click on the link to retrieve more results on the second page it links back to my home page even though the page id seems correct.

    First page of results shows as this:

    http://oursite.com/?s=news and returns the results correctly

    clicking on the retrieval of the second page of results shows this:

    http://oursite.com/page/2/?s=news but displays the home page of the site.

    (note I just changed our actual domain name to oursite)

    I just tried this on another domain which is still running WP 3.42 and this plugin at version 3.05 and it works correctly for all result pages.

    http://wordpress.org/extend/plugins/relevanssi/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mikko Saari

    @msaari

    Paging does work on my sites, and there should be no changes to it in the recent versions, so probably something else… Could it be the pagination is based on WP search, and the Relevanssi results do not actually have a second page of results?

    I am having a similar issue. All pages except page 1 return a 404 error. Previous versions of relevanssi had a paged=pagenumer url argument to control pagination. Now it uses a prefixed /page/pagenumber before the search params in the url. This does not work with my site for some reason. Please help!

    I ended adding a catch for is_search() in wp-pagenavi’s get_url function. Just forced a new param to the end of the url “page” = $paged…

    Plugin Author Mikko Saari

    @msaari

    Tyguy7, Relevanssi does not care whether you have url argument or fancy urls, Relevanssi reads the $wp_query->query_vars[‘paged’] directly. Relevanssi has no say over which format your blog uses.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] second page error’ is closed to new replies.
Skip to toolbar