• Resolved damienlee

    (@damienlee)


    I have a new issue in testing the plugin. Previously WP search worked perfectly with the native search. Using the plugin with the native search template selected I get the first page of results, but the pagination URL is improperly formatted and indeed provides no results as does the correctly formatted URL if entered manually which provides a 404 error. This is the URL I get for page 2 in the pagination:

    https://domain.com/page/2/?post_type=review&s=a#038;s=a

    Obviously, I’m searching the post_type “review” with the keyword “a” to get plenty of testing results.

    The correct URL should be https://domain.com/page/2/?post_type=review&s=a

    However, manually trying it provides a 404 error. Do you have any thoughts regarding this? I have no issue with templating as the site is built with Oxygen and I’m simply population the template with the search query. Disable the WP Search for Algolia plugin and the native search or even using the Relevanssi Plugin works without the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not sure what may or may not be going on as when it comes to the integrating with native search, we don’t override anything with regards to pagination. We do hook in with the pre_get_posts hook to ping Algolia and then tell the request to fetch specific IDs, but that’s going to be a results modification, not a pagination thing. Curious if Oxygen is playing a part in this somehow.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Any news or updates for this @damienlee ?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Search within Custom Post Type Archive’ is closed to new replies.