I am using Geodirectory and prior to switching from Yoast to Rank Math I had some redirections set up.
Since switching some work and some don’t, the ones which don’t work are effectively switching from a Geodirectory search page but not going to the correct WordPress destination page.
For example, search/?geodir_search=1&stype=gd_event&s&linked_from_post=4784 should redirect to https://things-to-do-in-sussex.co.uk/whats-on-at-eastbourne-bandstand/ but instead redirects to https://things-to-do-in-sussex.co.uk/whats-on-at-eastbourne-bandstand/?geodir_search=1&stype=gd_event&s&linked_from_post=4784, which is not the same page but seems to be a new page blended from the original Geodirectory search page and the WordPress page the redirection should be going to.
I need these redirects to go to the correct WordPress page rather than to a search page within Geodirectory.
If I switch on debug the issue is resolved but only when logged in, it is not resolved when logged out, incognito or on mobile devices.
The ticket ‘Redirection not going to correct destination page’ is closed to new replies.