Forums Forums Search & Filter Pro “?” Being stripped out of the results URL

Viewing 10 posts - 1 through 10 (of 19 total)
  • Anonymous
    #261776

    Hello,

    I am running into an odd issue. I have a search form in place on a taxonomy template with a bunch of different filters. I have a production environment and a staging environment on Kinsta with this website. The form works perfectly on staging (No CDN in place but WP Rocket is enabled). On Production it’s not working as the intended difference in the environment is the Kinsta CDN is enabled.

    When looking at the rendered source code of the form I see some differences as well between the two. On the production environment the form action is missing as well as this data-attribute: data-current-taxonomy-archive=”business_categories”>

    I have checked the settings in both environments to ensure the forms are the same, and they are. Are there any known conflicts with running a CDN, WP Rocket and or Kinsta’s caching?

    Thanks!

    Trevor
    #261839

    The question mark missing is most often a result of the Results URL being missing in the form setup, or a problem with Permalinks (just opening these and resaving can sometimes fix it).

    CDN and/or caching should not be an issue, but they can cause problems (especially WP Rocket, as it is very complex to setup).

    It can also be caused by our JavaScript not working correctly. WP Rocket can cause this, especially if you are caching or combining JavaScripts.

    It is best to disable the CDN and WP Rocket, and any other optimization, then test.

    Anonymous
    #261928

    Hey Trevor,

    So here is what I have tried so far:

    1.I updated Kinsta staging to the latest copy of Production to see if caching was the issue. And now staging doesn’t work.
    2. I have disabled WP Rocket, Kinsta Cache & CDN.
    3. Re-installed Search Filter Pro
    4. Re-built the index of the search
    5. Re-saved the permalinks
    6. Deleted the cache folder on the server
    7. Changed to default WP theme
    8. Disabled any sort of tracking/3rd party scripts in staging (not that I think they would have interfered but just crossing all my T’s).
    9. No console errors appearing.
    10. Re-made the search form

    I think I am out of ideas on this one. Any other suggestions?

    Trevor
    #261932
    This reply has been marked as private.
    Anonymous
    #261938
    This reply has been marked as private.
    Trevor
    #262082
    This reply has been marked as private.
    Anonymous
    #262094
    This reply has been marked as private.
    Trevor
    #262102
    This reply has been marked as private.
    Anonymous
    #262117
    This reply has been marked as private.
    Anonymous
    #262141
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 19 total)