parisholley / wordpress-fantastic-elasticsearch

Improve wordpress search performance/accuracy and enable faceted search by leveraging an ElasticSearch server.
MIT License
162 stars 64 forks source link

Pagination pages 404 on Network install #114

Closed kosso closed 9 years ago

kosso commented 9 years ago

Hi,

I have a multi-site/domain Wordpress network setup.

When I 'Enable Search' to override the built-in WP search results, the first page of results comes back fine, http://mydomain.com/?s=something - But clicking the 'Older Results' link results in a 404 Page Not Found. eg : http://mydomain.net/page/2/?s=something

The pagination urls (and therefore, rewrites) work fine when 'Enable Search' is disabled.

My older/newer links are being generated by

<?php next_posts_link( 'Older Results' ); ?> <?php previous_posts_link( 'Newer Results' ); ?>

Any ideas?

Thanks.

kosso commented 9 years ago

update: closing this, as I'm pretty sure it's my fault in my theme's custom search page.

sorry! ;)