• Resolved kurtgarrison

    (@kurtgarrison)


    Hi, I was on the Algolia community forum asking around about an issue I’m having and someone recommended I check here since we are using the wp-search-with-algolia plugin.
    I’m currently developing SEO Friendly URLs based on Algolia documentation:
    https://www.algolia.com/doc/guides/building-search-ui/going-further/routing-urls/js/#seo-friendly-urls

    Everything works perfectly on the search page but if I copy the URL(with filters selected) to another browser I’m getting 404. But this only occurs when category menu items in the path. RefinementList query parameters are persistent and open in a new window with filters selected.

    cambiumnetworks.local/resources/Case+Studies/?product_category=PMP
    This throws WordPress 404 (page not found)

    cambiumnetworks.local/resources/?product_category=PMP This works when pasting to a new window and loads the filter product category -> PMP

    Could this be related to how I’m connecting to Algolia with the plugin? I’m wondering if you’ve seen or heard of this issue before?

    thank you,
    Kurt

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

    (@tw2113)

    The BenchPresser

    Not sure how to best get around that as it seems WordPress is considering “Case+Studies” as part of it’s own permalinks and not query parameters rewritten.

    Only spot I know of where we customize routing is at https://github.com/WebDevStudios/wp-search-with-algolia/blob/2.8.2/templates/instantsearch.php#L86-L104

    Thread Starter kurtgarrison

    (@kurtgarrison)

    Hi Michael, thanks for the quick reply. As a test I just disabled the WP Search with Algolia plugin. My search page still functions but again when copying link to a new window throws 404. I think this can safely say the issue isn’t related to the plugin. I do see that routing object in the plugin code but since I disabled the plugin I can see that this is not interfering with my code. I’m surprised I can’t find more info about this online. I’ll check again. thank you.

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

The topic ‘SEO Friendly URLs issue’ is closed to new replies.