Closed dismantl closed 3 years ago
Hello @dismantl,
I apologize for not replying here sooner. I just noticed your post.
However, I have already provided a fix to this issue in one of the most recent releases of GEO my WP.
Please let me know if you have updated GEO my WP and if it took care of the issue for you.
I am still running into this issue with the latest version of the plugin (3.7). Any suggestions?
Also the workaround I posted above last October is still the only thing I am able to do to get it to work again.
I could submit a PR with the workaround if that would be helpful.
I'm using Wordpress 5.5.1, Geo-my-wp 3.6.1, Posts Locator extension.
When I submit the search form on my site, I get a 404 error because of the
page
URL parameter. An example of the URL params from a search:This would lead to a 404. However if I change
page=
topaged=
, it works again, and correctly paginates. I'm not sure if this is the issue, but I noticed thatpage
is a reserved query variable in Wordpress: https://codex.wordpress.org/WordPress_Query_VarsI tried this fix but it did not work. The only workaround I was able to find was patching
includes/template-functions/class-gmw-search-form-helper.php
: